• Preparing search index...
  • The search index is not available
@telostat/prelude - v0.6.0
  • @telostat/prelude
  • error
  • customError

Function customError

  • customError(msg: string, err?: Error): error.CustomError
  • Convenience function to build CustomError values.

    Parameters

    • msg: string

      Message.

    • Optionalerr: Error

      Underlying error, if any.

    Returns error.CustomError

    A CustomError value.

    • Defined in src/-error.ts:28

Settings

Member Visibility
@telostat/prelude - v0.6.0
  • Loading...

Generated using TypeDoc