Exception: Growatt::AuthenticationError

Inherits:
GrowattError
  • Object
show all
Defined in:
lib/growatt/error.rb

Overview

Raised when an authentication attempt fails.

Examples:

Handling authentication failure

begin
  client.
rescue Growatt::AuthenticationError => e
  puts "Login failed: #{e.message}"
end