module StaticRecord class ActiveRecordError < StandardError; end class YAMLFileError < RuntimeError; end class StaticRecordModelInitializeError < RuntimeError; end class RecordNotFound < ActiveRecordError attr_reader :model, :primary_key, :id def initialize(message = nil, model = nil, primary_key = nil, id = nil) @primary_key = primary_key @model = model @id = id super(message) end end end