module T::Configuration
def self.call_validation_error_handler=(value)
(**opts)-
:location(Thread::Backtrace::Location) -- Location of the -
:value(Object) -- Actual param/return value -
:type(Object) -- Expected param/return value type -
:name(Symbol) -- Param or block param name (nil for return -
:kind(String) -- One of: -
:message(String) -- Error message
Parameters:
-
opts(Hash) -- A hash containing contextual information on the error: -
signature(T::Private::Methods::Signature) -- Signature that failed -
value(Lambda, Proc, Object, nil) -- Proc that handles the error
def self.call_validation_error_handler=(value) validate_lambda_given!(value) @call_validation_error_handler = value end