Sha256: 848219d5e7ae80eef86b049b038f8ee78584e3331c9f197bdb65e234a8021d27
Contents?: true
Size: 292 Bytes
Versions: 3
Compression:
Stored size: 292 Bytes
Contents
# frozen_string_literal: true # Core methods module URLCanonicalize # Local exception classes to make handling exceptions easier class Exception < RuntimeError Failure = Class.new(self) Redirect = Class.new(self) Request = Class.new(self) URI = Class.new(self) end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
url_canonicalize-1.0.0 | lib/url_canonicalize/exception.rb |
url_canonicalize-0.2.1 | lib/url_canonicalize/exception.rb |
url_canonicalize-0.2.0 | lib/url_canonicalize/exception.rb |