Files
ngrok-api-ruby/lib/ngrokapi/error.rb
T
2023-08-24 20:57:40 +00:00

17 lines
339 B
Ruby

# 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