Constructor
# new BaseError()
Extends
- Error
Classes
Members
Methods
# static badGateway(message, data) → {Boom}
Parameters:
| Name | Type | Description |
|---|---|---|
message |
string | |
data |
any |
Boom
# static gatewayTimeout(message, data) → {Boom}
Parameters:
| Name | Type | Description |
|---|---|---|
message |
string | |
data |
any |
Boom
# static internal(message, data) → {Boom}
Parameters:
| Name | Type | Description |
|---|---|---|
message |
string | |
data |
any |
Boom
# static notFound(message, data) → {Boom}
Parameters:
| Name | Type | Description |
|---|---|---|
message |
string | |
data |
any |
Boom
# static notImplemented(message, data) → {Boom}
Parameters:
| Name | Type | Description |
|---|---|---|
message |
string | |
data |
any |
Boom
# static serverUnavailable(message, data) → {Boom}
Parameters:
| Name | Type | Description |
|---|---|---|
message |
string | |
data |
any |
Boom
# static toError(err) → {IBaseError}
Parameters:
| Name | Type | Description |
|---|---|---|
err |
Error | Boom | string | Array.<any> |
# static unauthorized(message, data) → {Boom}
Parameters:
| Name | Type | Description |
|---|---|---|
message |
string | |
data |
any |
Boom
# mergeStackTrace(dist, srcopt) → {string}
Parameters:
| Name | Type | Attributes | Description |
|---|---|---|---|
dist |
string | ||
src |
string |
<optional> |
string