Sha256: 53b2afe092ca18a79a235a97d4d4a214f2cf2e61427dd487853993b5e8ea97f3

Contents?: true

Size: 980 Bytes

Versions: 1

Compression:

Stored size: 980 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

1 entries across 1 versions & 1 rubygems

Version Path
jiralicious-0.5.0 lib/jiralicious/errors.rb