Exception: Rookout::Exceptions::ToolException
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- Rookout::Exceptions::ToolException
- Defined in:
- lib/rookout/exceptions.rb
Direct Known Subclasses
RookAttributeNotFound, RookAugInvalidKey, RookBadProtobuf, RookBadProtobufPlatform, RookCommunicationException, RookCrcMismatchException, RookExceptionEvaluationFailed, RookInterfaceException, RookInvalidArithmeticPath, RookInvalidLabel, RookInvalidObjectForAccess, RookInvalidOptions, RookInvalidPositionException, RookInvalidRateLimitConfiguration, RookInvalidToken, RookKeyNotFound, RookLineMoved, RookLocalsUnavailable, RookMessageSizeExceeded, RookMethodNotFound, RookMissingToken, RookNonPrimitiveObjectType, RookObjectCannotBeSerialized, RookObjectNameMissing, RookOperationReadOnly, RookOutputQueueFull, RookProxyException, RookRuleAugRateLimited, RookRuleGlobalRateLimited, RookSetTracepointFailed, RookSourceFilePathSuggestion, RookUnsupportedLiveLogger, RookUnsupportedLocation, RookVersionNotSupported, RookWebSocketError, RookWebsocketException, RookWriteAttributeNotSupported
Instance Attribute Summary collapse
-
#parameters ⇒ Object
readonly
Returns the value of attribute parameters.
Instance Method Summary collapse
-
#initialize(msg, parameters = {}, cause = nil) ⇒ ToolException
constructor
A new instance of ToolException.
Constructor Details
#initialize(msg, parameters = {}, cause = nil) ⇒ ToolException
Returns a new instance of ToolException.
4 5 6 7 8 |
# File 'lib/rookout/exceptions.rb', line 4 def initialize msg, parameters = {}, cause = nil super msg @parameters = parameters @cause = cause end |
Instance Attribute Details
#parameters ⇒ Object (readonly)
Returns the value of attribute parameters.
10 11 12 |
# File 'lib/rookout/exceptions.rb', line 10 def parameters @parameters end |