Module: Olyx::Guardrails::Rails::PolicyFileError

Defined in:
lib/olyx/guardrails/rails/policy_file_error.rb

Overview

Translates policy loading failures into stable boot configuration errors.

Class Method Summary collapse

Class Method Details

.call(error, path) ⇒ Object



10
11
12
# File 'lib/olyx/guardrails/rails/policy_file_error.rb', line 10

def call(error, path)
  ConfigurationError.new(message(error, path))
end