16 lines
242 B
Ruby
16 lines
242 B
Ruby
# frozen_string_literal: true
|
|
|
|
class CustomExceptions::InboxDisabled < CustomExceptions::Base
|
|
def message
|
|
'This inbox is currently disabled'
|
|
end
|
|
|
|
def error_code
|
|
'inbox_disabled'
|
|
end
|
|
|
|
def http_status
|
|
:forbidden
|
|
end
|
|
end
|