class Ant::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
Ant::Exceptions::AntBaseException::new
# File lib/ant/exceptions.rb, line 48 def initialize(message, code = nil, data = {}) code ||= self.class.name.split('::').last code = 'ServerError' if code == 'AntError' super(message, code, data) end