class Aggregates::CommandValidationError

Wraps a hash of errors when validating a command as an Exception.

Attributes

errors[R]

Public Class Methods

new(errors, msg = nil) click to toggle source
Calls superclass method
# File lib/aggregates/command_validation_error.rb, line 8
def initialize(errors, msg = nil)
  super(msg)

  @errors = errors
end