Sha256: e5286e212362ef7f1964a575ac9423d7264788d2a0be58ac1eb5f3918839bc62

Contents?: true

Size: 953 Bytes

Versions: 2

Compression:

Stored size: 953 Bytes

Contents

# encoding: utf-8

module Jiralicious
  # General Jira error
  class JiraError < StandardError; end
  # AuthenticateError
  class AuthenticationError < StandardError; end
  # NotLoggedIn error
  class NotLoggedIn < AuthenticationError; end
  # InvalidLogin error
  class InvalidLogin < AuthenticationError; end

  # These are in the JIRA API docs. Not sure about specifics, as the docs don't
  # mention them. Added here for completeness and future implementation.
  # http://confluence.atlassian.com/display/JIRA/JIRA+REST+API+%28Alpha%29+Tutorial

  # Cookie has Expired (depricated)
  class CookieExpired < AuthenticationError; end
  # Captcha is Required (not used)
  class CaptchaRequired < AuthenticationError; end
  # IssueNotFound error (any invalid object)
  class IssueNotFound < StandardError; end
  # JQL Error (error in JQL search(
  class JqlError < StandardError; end
  # Transition Error
  class TransitionError < StandardError; end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
jiralicious-0.4.3 lib/jiralicious/errors.rb
jiralicious-0.4.0 lib/jiralicious/errors.rb