class Sinatra::Helpers::Wanted::WantedNotFound
Exception to notify of object not found
Public Class Methods
new(msg=nil, id: nil, value: nil)
click to toggle source
Calls superclass method
Sinatra::Helpers::Wanted::WantedError::new
# File lib/sinatra/helpers/wanted.rb, line 42 def initialize(msg=nil, id: nil, value: nil) super(msg || "object not found", id: id, value: value) end