Home Reference Source
public class | source

SequelizeError

Extends:

Error → SequelizeError

SequelizeError represents a custom error class to handle sequelize's exception in a custom way it will parse the error into a known format and extract the stack trace into an pretty format.

Method Summary

Public Methods
public

Overrides the default toJSON behavior to create a pretty printable json Object

Public Methods

public toJSON(): Object source

Overrides the default toJSON behavior to create a pretty printable json Object

Return:

Object