Skip to content

Commit

Permalink
Move error classes
Browse files Browse the repository at this point in the history
  • Loading branch information
ursm committed Jul 6, 2024
1 parent adf7daf commit fc2efb3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion lib/fetch/client.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
require_relative '../fetch'
require_relative 'errors'
require_relative 'form_data'
require_relative 'headers'
require_relative 'response'
Expand Down
2 changes: 0 additions & 2 deletions lib/fetch.rb → lib/fetch/errors.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
require_relative 'fetch/version'

module Fetch
class Error < StandardError; end
class RedirectError < Error; end
Expand Down

0 comments on commit fc2efb3

Please sign in to comment.