class Schema::Definition::ParamTypeCastError

Overview

Raised when a param cannot be casted to the desired type.

Defined in:

schema/errors.cr

Constructors

Instance Method Summary

Instance methods inherited from class Schema::Definition::Error

build_path(*path) build_path, path : Array(String) path

Constructor Detail

def self.new(path : Tuple, type, value) #

[View source]

Instance Method Detail

def type : String #

The desired type which the param failed to be cast to.


[View source]