ServerException
Hierarchy
- DriverException
- ServerException
- ConstraintViolationException
- DatabaseObjectExistsException
- DatabaseObjectNotFoundException
- DeadlockException
- InvalidFieldNameException
- LockWaitTimeoutException
- NonUniqueFieldNameException
- ReadOnlyException
- SyntaxErrorException
- ServerException
Index
Constructors
Properties
Methods
Constructors
constructor
Parameters
previous: Error
Returns ServerException
Properties
optionalcode
optionalerrmsg
optionalerrno
message
name
optionalsqlMessage
optionalsqlState
optionalstack
staticoptionalprepareStackTrace
Type declaration
Optional override for formatting stack traces
Parameters
err: Error
stackTraces: CallSite[]
Returns any
staticstackTraceLimit
Methods
staticcaptureStackTrace
Create .stack property on a target object
Parameters
targetObject: object
optionalconstructorOpt: Function
Returns void
Base class for all server related errors detected in the driver.