0.0.5 • Published 2 years ago
catch-exeption-input v0.0.5
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)