lib/backlog_kit/error.rb in backlog_kit-0.13.0 vs lib/backlog_kit/error.rb in backlog_kit-0.14.0
- old
+ new
@@ -1,11 +1,9 @@
module BacklogKit
-
# Custom error class for rescuing from Backlog errors
#
# @see http://developer.nulab-inc.com/docs/backlog/error-response
class Error < StandardError
-
# Make a custom error message
#
# @param response [Hash] Error response
# @param index [Integer] Index of the error
# @return [String] Error message