class Shaf::Profiles::ProfileNotFoundError

Public Class Methods

new(name) click to toggle source
Calls superclass method Shaf::Errors::NotFoundError::new
# File lib/shaf/profiles.rb, line 6
def initialize(name)
  msg = %Q(Profile with name "#{name}" does not exist)
  super(msg, id: name)
end