class Nylas::NylasSdkTimeoutError

Error class representing a timeout from the Nylas SDK.

Attributes

timeout[RW]
url[RW]

Public Class Methods

new(url, timeout) click to toggle source

Initializes an error and assigns the given attributes to it. @param url [String] URL that timed out. @param timeout [Integer] Timeout in seconds. @return [NylasSdkTimeoutError] The error object.

Calls superclass method
# File lib/nylas/errors.rb, line 77
def initialize(url, timeout)
  super("Nylas SDK timed out before receiving a response from the server.")
  self.url = url
  self.timeout = timeout
end