MCPcopy
hub / github.com/ory/hydra / Is

Method Is

fosite/errors.go:356–366  ·  view source on GitHub ↗
(err error)

Source from the content-addressed store, hash-verified

354}
355
356func (e RFC6749Error) Is(err error) bool {
357 switch te := err.(type) {
358 case RFC6749Error:
359 return e.ErrorField == te.ErrorField &&
360 e.CodeField == te.CodeField
361 case *RFC6749Error:
362 return e.ErrorField == te.ErrorField &&
363 e.CodeField == te.CodeField
364 }
365 return false
366}
367
368func (e *RFC6749Error) Status() string {
369 return http.StatusText(e.CodeField)

Callers 15

decodeVerifierFunction · 0.45
authenticationSessionMethod · 0.45
requestAuthenticationMethod · 0.45
verifyAuthenticationMethod · 0.45
requestConsentMethod · 0.45
verifyConsentMethod · 0.45
issueLogoutVerifierMethod · 0.45
completeLogoutMethod · 0.45

Calls

no outgoing calls