Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Functions

createErrorResponse

  • createErrorResponse(status: number, message: string): { errors: { message: string }[]; status: number }
  • Creates an error response with a standard format

    Parameters

    • status: number
    • message: string

    Returns { errors: { message: string }[]; status: number }

    • errors: { message: string }[]
    • status: number

Generated using TypeDoc