Method: BGS::Exceptions::BGSErrors#raise_backend_exception
- Defined in:
- lib/bgs/exceptions/bgs_errors.rb
#raise_backend_exception(key, source, error) ⇒ Object
35 36 37 38 39 40 41 42 43 44 |
# File 'lib/bgs/exceptions/bgs_errors.rb', line 35 def raise_backend_exception(key, source, error) exception = BGS::ServiceException.new( key, { source: source.to_s }, 403, error. ) raise exception end |