Method: OneLogin::KlRubySaml::SloLogoutrequest#append_error

Defined in:
lib/onelogin/kl-ruby-saml/slo_logoutrequest.rb

#append_error(error_msg) ⇒ Object

Append the cause to the errors array, and based on the value of soft, return false or raise an exception



53
54
55
56
# File 'lib/onelogin/kl-ruby-saml/slo_logoutrequest.rb', line 53

def append_error(error_msg)
  @errors << error_msg
  return soft ? false : validation_error(error_msg)
end