Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ImATeapotException

Any attempt to brew coffee with a teapot should result in the error code "418 I'm a teapot". The resulting entity body MAY be short and stout.

http://save418.com/

Hierarchy

Index

Constructors

Properties

Methods

Constructors

constructor

  • new ImATeapotException(message?: string | any | any, error?: string): ImATeapotException

Properties

message

message: any

name

name: string

Optional stack

stack: string

Methods

getResponse

  • getResponse(): string | any

getStatus

  • getStatus(): number

Generated using TypeDoc