Sha256: 1491ce8ebdef1327de97f3502135d15e1ab799dd2cc77287aa24870d51b23298
Contents?: true
Size: 317 Bytes
Versions: 1
Compression:
Stored size: 317 Bytes
Contents
# Indicates that a resource or database row does not exist. class Brut::Framework::Errors::NotFound < Brut::Framework::Error def initialize(resource_name:,id:,context:nil) if !context.nil? context = ": #{context}" end super("Could not find a #{resource_name} using ID #{id}#{context}") end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
brut-0.0.1 | lib/brut/framework/errors/not_found.rb |