Files
2026-08-13 19:56:46 +03:30

23 lines
397 B
Ruby

# frozen_string_literal: true
module API::V2
module Management
module Exceptions
class Base < StandardError
def initialize(message:, **options)
@options = options
super(message)
end
def headers
@options.fetch(:headers, {})
end
def status
@options.fetch(:status)
end
end
end
end
end