Class

InternalServerError

InternalServerError(body)

This is the default error like class, it is automatic returned every time the useInjection top level try/catch catches something.

Constructor

# new InternalServerError(body)

Parameters:
Name Type Default Description
body string The server encountered an unexpected condition that prevented it from fulfilling the request!

A human readable description of what happened

View Source lib/errors/internal-server.error.js, line 8