Exception: Tram::Policy::ValidationError

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/tram/policy/validation_error.rb

Overview

An exception to be risen by [Tram::Policy#validate!]

Instance Attribute Summary collapse

Instance Attribute Details

#policyTram::Policy (readonly)

Policy object whose validation has caused the exception

Returns:


8
9
10
# File 'lib/tram/policy/validation_error.rb', line 8

def policy
  @policy
end