class PowerTrack::BadRequestError

Generally relates to poorly formatted JSON, and includes an “Invalid JSON” message in the response.

Public Class Methods

new(message, body) click to toggle source
Calls superclass method PowerTrack::BasePowerTrackError::new
# File lib/powertrack/errors.rb, line 64
def initialize(message, body)
  super(400, message, body)
end