add a wrapper for standard error codes returned by backend, also add explanation to the error object if possible