qanary-component-core/middlewares/error/error.model
This page is auto-generated from TSDoc output. Edit the source file, not this Markdown.
qanary-component-core/middlewares/error/error.model
Section titled “qanary-component-core/middlewares/error/error.model”- Package:
@leipzigtreechat/qanary-component-core - Source file:
packages/qanary-component-core/src/middlewares/error/error.model.ts
Summary
Section titled “Summary”An error response as it can be processed by the Qanary pipeline
Classes
Section titled “Classes”ErrorResponse
Section titled “ErrorResponse”class ErrorResponseAn error response as it can be processed by the Qanary pipeline
Properties
timestamp(string): A timestamp when the error has occurredstatus(number): The status code of the errorerror(string): The error messagepath(string): The endpoint where error has occurred Methodsconstructor(options: QanaryComponentApi.IQanaryComponentError): The function to instantiate the objectfrom(err: Error, req: Request): void: The factory method of the object Defined at: line 7
In qanary-component-core
Section titled “In qanary-component-core”qanary-component-core/helper/get-portqanary-component-core/helper/sleepqanary-component-core/indexqanary-component-core/middlewares/error/error.middlewareqanary-component-core/middlewares/error/error.modelqanary-component-core/qanary-component-coreqanary-component-core/resources/about/about.controllerqanary-component-core/resources/about/about.modelqanary-component-core/resources/about/about.routerqanary-component-core/resources/annotatequestion/annotatequestion.controllerqanary-component-core/resources/annotatequestion/annotatequestion.modelqanary-component-core/resources/annotatequestion/annotatequestion.routerqanary-component-core/resources/health/health.controllerqanary-component-core/resources/health/health.routerqanary-component-core/services/registration/registration.modelqanary-component-core/services/registration/registration.service