class FilePipeline::Errors::MissingVersionFileError

Error class for exceptions that are raised when a new version is added, but no actual file is associated with it.

Attributes

file[R]

The file that could not be found.

Public Class Methods

new(msg = nil, file: nil) click to toggle source
Calls superclass method
# File lib/file_pipeline/errors/missing_version_file_error.rb, line 11
def initialize(msg = nil, file: nil)
  @file = file
  msg ||= "File missing for version '#{@file}'"
  super msg
end