class TflApi::Exceptions::InternalServerError
This exception class handles cases where the TFL API returns with a 500 Internal Server Error.
Public Class Methods
new(logger, message = '')
click to toggle source
Calls superclass method
TflApi::Exceptions::ApiException::new
# File lib/tfl_api_client/exceptions.rb, line 75 def initialize(logger, message = '') message = 'TFL API threw an Internal Server Error. Please try again.' if message.nil? || message.empty? super(logger, message) end