Module: Fortnox::ErrorTranslation

Included in:
Resource, Resource
Defined in:
lib/fortnox/error_translation.rb

Overview

Translates rest-easy errors at the gem boundary so callers only see Fortnox-namespaced exceptions. Mixed into Fortnox::Resource both ways — include for the instance methods, extend for the class-level ones.