ODSystemError class
under construction
We are still working the API Reference! This page might be incomplete or doesn't contain all details!
Overview
A wrapper for the node.js Error class that makes the error look better in the console!
This wrapper is made for Open Ticket system errors! It can only be used by Open Ticket itself!
Properties
_ODErrorType string ➜ string
This variable gets detected by the error handling system to know how to render it
inherited optional cause type ➜ unknown
(no description)
inherited message string ➜ string
(no description)
inherited name string ➜ string
(no description)
inherited optional stack string ➜ string
(no description)
inherited static optional prepareStackTrace function ➜ (err:Error, stackTraces:@types/node.CallSite[]) => any
Optional override for formatting stack traces
inherited static stackTraceLimit number ➜ number
(no description)
Methods
constructor() function ➜ api.ODSystemError
(no description)
View Parameters (1)
message: string ➜string- Parameter Description Lorem Ipsum.
inherited static captureStackTrace() function ➜ void
Create .stack property on a target object
View Parameters (2)
static fromError() function ➜ api.ODSystemError
Create an ODSystemError directly from an Error class
View Parameters (1)
err: type ➜Error- Parameter Description Lorem Ipsum.
Defaults
under construction
We're still working on this part of the documentation!
Examples
under construction
We're still working on this part of the documentation!