class Athena::Validator::Exceptions::UnexpectedValueError

Overview

Raised when an AVD::ConstraintValidatorInterface is unable to validate a value of an unsupported type.

See AVD::ConstraintValidator#raise_invalid_type.

Defined in:

exceptions/unexpected_value_error.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(value : _, supported_types : String) #

[View source]

Instance Method Detail

def supported_types : String #

A string representing a union of the supported_type(s).


[View source]