Files
Arve KnudsenandGitHub 27628f5d22 Chore: Upgrade Cortex (#841)
* Chore: Upgrade Cortex

Signed-off-by: Arve Knudsen <[email protected]>

* Update changelog

Signed-off-by: Arve Knudsen <[email protected]>
2021-07-28 17:15:17 +05:30

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)
}