0.9.0 • Published 3 years ago
@vates/xw-api-errors v0.9.0
Error/Exception lib with the purpose to be shared between Server and Client.
Functions getCodeFromError provides an error number that can be used in client/server message.
Functions getErrorFormCode can, retrieve an error class to instanciate from a number found in a message.