Commit 0805d359 authored by allison.browne's avatar allison.browne

Move custom error to module it is used in

parent 88585816
...@@ -10,7 +10,6 @@ module Sentry ...@@ -10,7 +10,6 @@ module Sentry
Error = Class.new(StandardError) Error = Class.new(StandardError)
MissingKeysError = Class.new(StandardError) MissingKeysError = Class.new(StandardError)
ResponseInvalidSizeError = Class.new(StandardError)
attr_accessor :url, :token attr_accessor :url, :token
......
...@@ -4,6 +4,7 @@ module Sentry ...@@ -4,6 +4,7 @@ module Sentry
class Client class Client
module Issue module Issue
BadRequestError = Class.new(StandardError) BadRequestError = Class.new(StandardError)
ResponseInvalidSizeError = Class.new(StandardError)
SENTRY_API_SORT_VALUE_MAP = { SENTRY_API_SORT_VALUE_MAP = {
# <accepted_by_client> => <accepted_by_sentry_api> # <accepted_by_client> => <accepted_by_sentry_api>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment