mirror of
https://github.com/discourse/discourse.git
synced 2024-12-26 06:03:44 +08:00
11 lines
278 B
Ruby
11 lines
278 B
Ruby
|
# frozen_string_literal: true
|
||
|
|
||
|
class SecondFactor::BadChallenge < StandardError
|
||
|
attr_reader :error_translation_key, :status_code
|
||
|
|
||
|
def initialize(error_translation_key, status_code:)
|
||
|
@error_translation_key = error_translation_key
|
||
|
@status_code = status_code
|
||
|
end
|
||
|
end
|