class Schema::Definition::ExplicitKeyForNonScalarParam

Overview

Raised when a non-scalar param is tried to be set explicitly with a single key. For example, if foo is a complext object, then foo=bar makes no sense.

Defined in:

schema/errors.cr

Constructors

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) #

[View source]