Exception: CommandTower::Errors::Messaging::AcceptRejectedError

Inherits:
ApplicationError
  • Object
show all
Defined in:
app/errors/command_tower/errors/messaging/accept_rejected_error.rb

Instance Attribute Summary

Attributes inherited from ApplicationError

#cause, #details

Instance Method Summary collapse

Methods inherited from ApplicationError

#initialize, #retryable?

Constructor Details

This class inherits a constructor from CommandTower::Errors::ApplicationError

Instance Method Details

#codeObject



7
8
9
# File 'app/errors/command_tower/errors/messaging/accept_rejected_error.rb', line 7

def code
  "messaging_accept_rejected"
end

#log_levelObject



15
16
17
# File 'app/errors/command_tower/errors/messaging/accept_rejected_error.rb', line 15

def log_level
  :warn
end

#messageObject



11
12
13
# File 'app/errors/command_tower/errors/messaging/accept_rejected_error.rb', line 11

def message
  "Messaging accept was rejected"
end