preferencestore (#15018)
* Starting migration * Migration finished * Fix i18n * Fix some tests * Fix typos * Remove overwite of http status * Add i18n string * Fix i18n * fix breakages * fix tests Co-authored-by: Rodrigo Villablanca <villa061004@gmail.com>
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
8f42177870
Коммит
83974d8a8d
@@ -102,3 +102,16 @@ func (e *ErrOutOfBounds) Error() string {
|
||||
func NewErrOutOfBounds(value int) *ErrOutOfBounds {
|
||||
return &ErrOutOfBounds{value: value}
|
||||
}
|
||||
|
||||
// ErrNotImplemented indicates that some feature or requirement is not implemented yet.
|
||||
type ErrNotImplemented struct {
|
||||
detail string
|
||||
}
|
||||
|
||||
func (e *ErrNotImplemented) Error() string {
|
||||
return e.detail
|
||||
}
|
||||
|
||||
func NewErrNotImplemented(detail string) *ErrNotImplemented {
|
||||
return &ErrNotImplemented{detail: detail}
|
||||
}
|
||||
|
||||
Ссылка в новой задаче
Block a user