Exception: Protege::ResolverFileNotFoundError

Inherits:
Error
  • Object
show all
Defined in:
lib/protege/errors/resolver_file_not_found_error.rb

Overview

A +LoadFileResolver+'s configured path does not exist — a developer misconfiguration (the path is author-supplied), so we fail loudly rather than silently contributing nothing.

Constant Summary

Constants inherited from Error

Error::PERMANENT, Error::TRANSIENT

Instance Method Summary collapse

Constructor Details

#initialize(path:, absolute:) ⇒ ResolverFileNotFoundError

Returns a new instance of ResolverFileNotFoundError.



7
# File 'lib/protege/errors/resolver_file_not_found_error.rb', line 7

def initialize(path:, absolute:) = super("no file at #{absolute} (from path #{path.inspect})")