Skip to content

1.2.0

Latest

Choose a tag to compare

@SMBCheeky SMBCheeky released this 11 Jan 12:53
· 14 commits to main since this release
  • decouple completely from ErrorObjectFromPayload, by removing processingErrors, summary and nextErrors fields
  • removed the DEFAULT_DOMAIN field
  • add overrides for the default generic error code and message
  • add override for log method (default console.log)
  • add more type guards: errorObject instanceof Error,errorObject instanceof ErrorObject, ErrorObject.is() and isErrorObject().
  • update playground file with more quick examples
  • remove error-object-only.ts file from the playground as now the main package
  • update @smbcheeky/error-object-from-payload to work as a derived class from ErrorObject, and overriding some logic when needed