module:MiddlewareError

new module:MiddlewareError(reason)

Constructor for MiddlewareError
Parameters:
NameTypeDescription
reasonstring

Members

message :string

Error class message alias for reason
Type:
  • string

reason :'config property of definition could not be parsed'|'config property of controllers could not be parsed'|'could not setup endpoint because {X}'

friendly string for failure reason
Type:
  • 'config property of definition could not be parsed' | 'config property of controllers could not be parsed' | 'could not setup endpoint because {X}'