class Crm::Errors::ResourceNotFound

ResourceNotFound is raised if the requested IDs could not be found. @api public

Attributes

missing_ids[R]

Returns the IDs that could not be found. @return [Array<String>] @example

["9762b2b4382f6bf34adbdeb21ce588aa"]

@api public

Public Class Methods

new(message = nil, missing_ids = []) click to toggle source
Calls superclass method
# File lib/crm/errors.rb, line 53
def initialize(message = nil, missing_ids = [])
  super("#{message} Missing IDs: #{missing_ids.to_sentence}")

  @missing_ids = missing_ids
end