Movatterモバイル変換


[0]ホーム

URL:


Libraries »piotrmurach/github(master) »Index (G) »Github »Error »GithubError

Exception: Github::Error::GithubError

Inherits:
StandardError
  • Object
  • StandardError
  • Github::Error::GithubError
show all
Extended by:
DescendantsTracker
Defined in:
lib/github_api/error.rb

Direct Known Subclasses

ClientError,ServiceError

Instance Attribute Summarycollapse

Instance Method Summarycollapse

Constructor Details

#initialize(message = $!) ⇒GithubError

Initialize a new Github error object.

1415161718192021
# File 'lib/github_api/error.rb', line 14definitialize(message=$!)ifmessage.respond_to?(:backtrace)super(message.message)@response_message=messageelsesuper(message.to_s)endend

Instance Attribute Details

#response_headersObject(readonly)

Returns the value of attribute response_headers.

101112
# File 'lib/github_api/error.rb', line 10defresponse_headers@response_headersend

#response_messageObject(readonly)

Returns the value of attribute response_message.

101112
# File 'lib/github_api/error.rb', line 10defresponse_message@response_messageend

Instance Method Details

#backtraceObject

23242526272829
# File 'lib/github_api/error.rb', line 23defbacktraceif@response_message.respond_to?(:backtrace)@response_message.backtraceelsesuperendend
Generated on Sat Nov 29 23:44:13 2025 byyard 0.9.37 (ruby-3.4.3).

[8]ページ先頭

©2009-2025 Movatter.jp