class Kybus::Exceptions::AntError
Is used to express an error that was found during the execution of the program but it also means that the invoked endpoint has not the power to fix it, so it will only complain.
Public Class Methods
new(message, code = nil, data = {})
click to toggle source
Calls superclass method
Kybus::Exceptions::AntBaseException::new
# File lib/kybus/exceptions.rb, line 64 def initialize(message, code = nil, data = {}) code ||= self.class.name.split('::').last code = 'ServerError' if code == 'AntError' super(message, code, data) end