Error implements error.
()
| 43 | |
| 44 | // Error implements error. |
| 45 | func (e *StatusError) Error() string { |
| 46 | msg := "saml: status " + e.TopLevel |
| 47 | if e.SecondLevel != "" { |
| 48 | msg += " (" + e.SecondLevel + ")" |
| 49 | } |
| 50 | if e.Message != "" { |
| 51 | msg += ": " + e.Message |
| 52 | } |
| 53 | return msg |
| 54 | } |
| 55 | |
| 56 | // MakeErrorResponse sets ResponseEl to a signed SAML <Response> to the |
| 57 | // request with an error <Status> and no assertion: topLevel is the top-level |
nothing calls this directly
no outgoing calls
no test coverage detected