class Amber::Exceptions::CredentialsDoNotFitSection

Overview

Raised when the credential files cannot build the registered section type, for example when a non-nilable field has no file and no default. The underlying error, from YAML or from the type's own converter or after_initialize, is dropped because its message can quote a credential value.

Defined in:

amber/exceptions/credentials_error.cr

Constructors

Constructor Detail

def self.new(type_name : String, directory : String) #

[View source]