Class: Argument

GoBrain.Exceptions. Argument

new GoBrain.Exceptions.Argument(clazz, message, type, severity)

GoBrain.Core/src/exceptions/argument.js, line 1

Argument exception.

Argument exception.

Name Type Default Description
clazz function

Child class reference.

message String optional

Exception message.

type GoBrain.Errors

The GoBrain error type. This is used to route and distinguish errors.

severity GoBrain.Exceptions.Severity GoBrain.Exceptions.Severity.Fatal optional

Exception severity.

Properties:
Name Type Argument Default Description
message String

Exception message.

name String

Exception name.

severity GoBrain.Exceptions.Severity <optional>
GoBrain.Exceptions.Severity.Fatal

Exception severity.

stack String

Exception stack trace.

type GoBrain.Errors

The GoBrain error type. This is used to route and distinguish errors.

Extends