mirror of
https://github.com/discourse/discourse.git
synced 2024-12-21 14:03:57 +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
|