ApplicationErrorFactory

Factory to recreate exceptions from ErrorDescription values passed through the wire.

Description

The ApplicationErrorFactory acts as a factory to recreate from ErrorDescription values passed through the wire.

Methods

Create

Recreates an ApplicationError object from serialized a ErrorDescription. It tries to restore the original exception type using type or error category fields.

Create(description *ErrorDescription) *ApplicationError

  • description: *ErrorDescription - serialized error description received as a result of remote call

See also