Exception: Yes::Core::Error
- Inherits:
-
StandardError
- Object
- StandardError
- Yes::Core::Error
- Defined in:
- lib/yes/core/error.rb
Direct Known Subclasses
Aggregate::Dsl::CommandDefiner::EventNameResolverError, Aggregate::Dsl::CommandDefiner::UndefinedAttributeError, Aggregate::Dsl::CommandShortcutExpander::InvalidShortcut, AuthenticationError, Command::Invalid, CommandHandling::ConcurrentUpdateError, CommandHandling::GuardEvaluator::TransitionError, CommandHandling::ReadModelRevisionGuard::RevisionAlreadyAppliedError, CommandHandling::ReadModelRevisionGuard::RevisionMismatchError, Commands::Group::Attributes::Invalid, Commands::Stateless::GroupHandler::CommandsError, Commands::Stateless::GroupHandler::CustomHandlerMethodMissingError, Commands::Stateless::GroupHandler::InvalidCommandGroupError, Commands::Stateless::Handler::TransitionError, PayloadStore::Errors::ClientError, PayloadStore::Errors::MissingClient, Utils::CommandUtils::CommandNotFoundError
Instance Attribute Summary collapse
-
#extra ⇒ Object
readonly
Returns the value of attribute extra.
Instance Method Summary collapse
-
#initialize(message = nil, extra: nil) ⇒ Error
constructor
A new instance of Error.
Constructor Details
#initialize(message = nil, extra: nil) ⇒ Error
Returns a new instance of Error.
8 9 10 11 |
# File 'lib/yes/core/error.rb', line 8 def initialize( = nil, extra: nil) super() @extra = extra end |
Instance Attribute Details
#extra ⇒ Object (readonly)
Returns the value of attribute extra.
6 7 8 |
# File 'lib/yes/core/error.rb', line 6 def extra @extra end |