require 'version' # A base class for Error classes in your application. class Error < StandardError is_versioned # The target of the error. attr_accessor :target # @param target The target of the error. def initialize(target=nil) @target = target end # The String to print. # # @return [String] def to_s @target.to_s end end require 'error/import'