Sha256: b08460565046c40c0c326806f5783753fbfe4689a18cbad9c6cb3374b9e97771
Contents?: true
Size: 583 Bytes
Versions: 10
Compression:
Stored size: 583 Bytes
Contents
module GitHub class SQL # Public: A superclass for errors. class Error < RuntimeError end # Public: Raised when a bound ":keyword" value isn't available. class BadBind < Error def initialize(keyword) super "There's no bind value for #{keyword.inspect}" end end # Public: Raised when a bound value can't be sanitized. class BadValue < Error def initialize(value, description = nil) description ||= "a #{value.class.name}" super "Can't sanitize #{description}: #{value.inspect}" end end end end
Version data entries
10 entries across 10 versions & 1 rubygems