1. A computer-implemented method comprising: providing, by a processing device running on a server, a library having a set of application programming interfaces to interface an application and a logical volume manager (LVM), wherein the set of application programming interfaces comprises a set of error reporting interfaces that are configured to report an error using a handle corresponding to an object and a plurality of error reporting handles; initializing a handle for a logical object; retrieving the logical object for the application using the handle; executing a function in the application to act on the logical object; after said executing, determining if an error occurred resulting from said executing; if there is an error, reporting the error using the handle and the plurality of error reporting handles, wherein said reporting comprises: reporting the error using the handle; reporting an error code associated with the error using one of the plurality of error reporting handles; reporting an error string in a natural language describing the error using another one of the plurality of error reporting handles; and reporting a section of programming code of the function associated with the error using another one of the plurality of error reporting handles; and if there is no error, releasing the logical object from the handle and returning the handle to the application.