Sha256: 3c0e7f67602ccb66a9b1ee6a07b33ec3ac02390b69ef8ae78d86decd32db0a5e

Contents?: true

Size: 339 Bytes

Versions: 4

Compression:

Stored size: 339 Bytes

Contents

# frozen_string_literal: true

# Code generated for API Clients. DO NOT EDIT.

module NgrokAPI
  ##
  # Base Error class for all Ngrok Errors
  class Error < StandardError
    attr_reader :response

    def initialize(msg: "An error occurred with the NgrokAPI", response: nil)
      @response = response
      super(msg)
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
ngrok-api-0.24.0 lib/ngrokapi/error.rb
ngrok-api-0.23.0 lib/ngrokapi/error.rb
ngrok-api-0.22.0 lib/ngrokapi/error.rb
ngrok-api-0.21.0 lib/ngrokapi/error.rb