Hierarchy

  • ErrorMapper
  • Maps the given error to a new error.

    Parameters

    • error: ErrorType

      the error to map

    • Optional currentlyMappedError: ErrorType

      the error that was mapped by a previous error mapper

    Returns undefined | ErrorType

    the mapped error or undefined if the error could not be mapped

Generated using TypeDoc