class Praxis::Mapper::Resources::IncompatibleTypeForMethodArguments
Error raised when trying to call a typed method and the validation of arguments fails
Attributes
errors[R]
method[R]
Public Class Methods
new(errors:, method:, klass:)
click to toggle source
Calls superclass method
# File lib/praxis/mapper/resources/typed_methods.rb, line 10 def initialize(errors:, method:, klass:) @errors = errors super "Error validating/coercing arguments for call to method #{method} of class #{klass}:\n#{errors}" end