Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "src/helpers/errors"

Index

Functions

Const logError

  • logError(category: string, err: string, level?: 1 | 2): void
  • Parameters

    • category: string
    • err: string
    • Default value level: 1 | 2 = 2

    Returns void

Const safeError

  • Parse default errors and send a safe string

    Parameters

    • error: string

    Returns HTTPError

Const sendError

  • Send an HTTPError object

    Parameters

    • error: string

    Returns HTTPError

Generated using TypeDoc