Maps the given error to a new error.
the error to map
Optional
the error that was mapped by a previous error mapper
the mapped error or undefined if the error could not be mapped
Generated using TypeDoc
Maps the given error to a new error.