catch-exeption-input
v0.0.5
Published
catch-exeption-input
Downloads
2
Readme
catch-exception-input
Usage
Add ExceptionDataEntity to your TypeOrm connection
Use WrapFunctions function to wrap function of object into functions that catch exceptions
const obj = new SomeClass() WrapFunctions(obj)
OR
class SomeClass { constructor() { WrapFunctions(this) } }
Content of ExceptionDataEntity
- Class name
- Function name
- Create date
- Function input parameters
- Stack (Content of error)