Describes a filesystem validation failure for a Victoria specification.
Errors are returned by Victoria.Spec.new/1 and should be treated as
read-only.
Summary
Types
@type field() :: :source | :config
The specification path that failed validation.
@type reason() :: :not_found | :not_a_regular_file | {:invalid_extension, String.t()} | {:filesystem, term()}
The filesystem or extension validation failure.
@type t() :: %Victoria.Spec.Error{ __exception__: term(), field: field(), path: Path.t(), reason: reason() }
A structured specification-path failure.