mirror of
https://github.com/discourse/discourse.git
synced 2024-11-27 08:33:39 +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
|