مراية لـ
https://github.com/postalserver/postal.git
تم المزامنة 2026-01-18 22:09:46 +00:00
26 أسطر
330 B
Ruby
26 أسطر
330 B
Ruby
# frozen_string_literal: true
|
|
|
|
module Postal
|
|
|
|
class Error < StandardError
|
|
end
|
|
|
|
module Errors
|
|
class AuthenticationError < Error
|
|
|
|
attr_reader :error
|
|
|
|
def initialize(error)
|
|
super()
|
|
@error = error
|
|
end
|
|
|
|
def to_s
|
|
"Authentication Failed: #{@error}"
|
|
end
|
|
|
|
end
|
|
end
|
|
|
|
end
|