mirror of
https://github.com/hashicorp/vault.git
synced 2025-11-21 02:31:11 +01:00
* Switch mongodb driver to mongo-driver * Tidy mod * Make writeConcern private * Implement review feedback * Add retry functionality * Added backoff time * go mod vendor * Fix failing test * goimport
15 lines
273 B
Go
15 lines
273 B
Go
package stringprep
|
|
|
|
import "fmt"
|
|
|
|
// Error describes problems encountered during stringprep, including what rune
|
|
// was problematic.
|
|
type Error struct {
|
|
Msg string
|
|
Rune rune
|
|
}
|
|
|
|
func (e Error) Error() string {
|
|
return fmt.Sprintf("%s (rune: '\\u%04x')", e.Msg, e.Rune)
|
|
}
|