module SSLyze::XML::Attributes::Exception

Provides methods for accessing the `exception` XML attribute.

@since 1.0.0

Public Instance Methods

exception() click to toggle source

The exception message, if an exception occurred.

@return [String, nil]

# File lib/sslyze/xml/attributes/exception.rb, line 15
def exception
  @exception ||= @node['exception']
end
exception?() click to toggle source

Tests whether an exception occurred.

@return [Boolean]

# File lib/sslyze/xml/attributes/exception.rb, line 24
def exception?
  !exception.nil?
end