module Restforce::ErrorCode
def self.const_missing(constant_name)
def self.const_missing(constant_name) warn "[restforce] You're referring to a Restforce error that isn't defined, " \ "`#{name}::#{constant_name}` (for example by trying to `rescue` it). This " \ "might be our fault - we've recently made some changes to how errors are " \ "defined. If you're sure that this is a valid Salesforce error, then " \ "please create an issue on GitHub at <#{GITHUB_ISSUE_URL}>." super(constant_name) end