class CrConfig::ConfigException

Overview

Exception that gets thrown whenever there's something "wrong" with the configuration, such as a config value not being found through the providers, or not being able to be transformed into the correct type.

Defined in:

cr-config/builder_macro.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(name : String, type : Type, parse_message : String) #

[View source]

Instance Method Detail

def name : String #

The configuration property name that the error was triggered for


[View source]
def parse_message : String #

Error message

Hopefully a more human readable error message that helps identify what caused the problem and how to fix it


[View source]

The Type of the error


[View source]