-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy patherrors.go
More file actions
26 lines (19 loc) · 907 Bytes
/
errors.go
File metadata and controls
26 lines (19 loc) · 907 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
// Package singpass provides error types for the Singpass authentication client.
// This file re-exports error types from internal/errors for backward compatibility.
package singpass
import "github.com/vector233/go-singpass/internal/errors"
// Re-export error types for backward compatibility
type (
// ErrInvalidConfig represents configuration validation errors
ErrInvalidConfig = errors.ErrInvalidConfig
// ErrInvalidState represents OAuth state validation errors
ErrInvalidState = errors.ErrInvalidState
// ErrTokenValidation represents JWT token validation errors
ErrTokenValidation = errors.ErrTokenValidation
// ErrHTTPRequest represents HTTP request errors
ErrHTTPRequest = errors.ErrHTTPRequest
// ErrRedisOperation represents Redis operation errors
ErrRedisOperation = errors.ErrRedisOperation
// ErrJWKSFetch represents JWKS fetching errors
ErrJWKSFetch = errors.ErrJWKSFetch
)