Moonshard

README / Globals / InternalServerError

# Class: InternalServerError

# Hierarchy

# Index

# Constructors

# Properties

# Methods

# Constructors

# constructor

+ new InternalServerError(message: string, error: string, code: HttpStatus): InternalServerError

Overrides HttpError.constructor

# Parameters:

Name Type Default value
message string -
error string "Internal Server Error"
code HttpStatus HttpStatus.INTERNAL_SERVER_ERROR

Returns: InternalServerError

# Properties

# code

Readonly code: any

Inherited from HttpError.code


# error

Readonly error: any

Inherited from HttpError.error


# message

message: string

Inherited from HttpError.message


# name

name: string

Inherited from HttpError.name


# stack

Optional stack: undefined | string

Inherited from HttpError.stack

# Methods

# getResponse

getResponse(__namedParameters: { request: any }): IHttpError & IHttpErrorStatics

Inherited from HttpError.getResponse

# Parameters:

Name Type Default value
__namedParameters { request: any } {}

Returns: IHttpError & IHttpErrorStatics