• Preparing search index...
  • The search index is not available
wonder-stuff
  • wonder-stuff
  • wonder-stuff-render-server/src
  • extractError

Function extractError

  • extractError(error: AmbiguousError): Readonly<SimplifiedError>

    Extract the root cause error from an ambiguous error.

    This takes an ambiguous error representation and attempts to turn it into a less ambiguous version.

    Parameters

    • error: AmbiguousError

      An object or string that represents an error.

    Returns Readonly<SimplifiedError>

    A simplified error object.

    • Defined in packages/wonder-stuff-render-server/src/extract-error.ts:14

Settings

Member Visibility
wonder-stuff
  • Loading...

Generated using TypeDoc