Exception: Lich::Common::Authentication::LaunchResult::MissingLaunchDataError

Inherits:
StandardError
  • Object
show all
Defined in:
documented/common/authentication/launch_result.rb

Overview

Raised when a provider's launch data is missing a field every consumer of this shared shape depends on.

Instance Method Summary collapse

Constructor Details

#initialize(missing_keys) ⇒ void

Initializes the error with a formatted message listing the missing required keys.

Parameters:

  • missing_keys (Array<String>) —

    the keys that are required but absent or blank



34
35
36
# File 'documented/common/authentication/launch_result.rb', line 34

def initialize(missing_keys)
  super("launch result missing required key(s): #{missing_keys.join(', ')}")
end