Factory to create serializeable ErrorDescription from ApplicationException or from arbitrary errors.
The ErrorDescriptions are used to pass errors through the wire between microservices implemented in different languages. They allow to restore exceptions on the receiving side close to the original type and preserve additional information.
ErrorDescription
ApplicationException
Creates a serializable ErrorDescription from error object.
an error object
a serializeable ErrorDescription object that describes the error.
Generated using TypeDoc
Factory to create serializeable ErrorDescription from ApplicationException or from arbitrary errors.
The ErrorDescriptions are used to pass errors through the wire between microservices implemented in different languages. They allow to restore exceptions on the receiving side close to the original type and preserve additional information.
ErrorDescription
ApplicationException