Sha256: 6cef61eef2ae06b5ded6d7071c5bc3c7637b846c454926a5a8a8b2812b6b3bca
Contents?: true
Size: 553 Bytes
Versions: 1
Compression:
Stored size: 553 Bytes
Contents
module Gm module Notepad class RuntimeError < ::RuntimeError end class DuplicateKeyError < RuntimeError def initialize(key:, object:) super("Duplicate key for #{key.inspect} in #{object}") end end class MissingTableError < RuntimeError def initialize(name:) super(%(Missing table "#{name}")) end end class MissingTableEntryError < RuntimeError def initialize(table_name:, index:) super(%(Missing index "#{index}" for table "#{table_name}")) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
gm-notepad-0.0.6 | lib/gm/notepad/exceptions.rb |