Skip to content
Snippets Groups Projects

Let user set a name for a device or autogenerate it

Merged Ghost User requested to merge istaester/autogenerate-device-names into develop
3 unresolved threads
4 files
+ 142
67
Compare changes
  • Side-by-side
  • Inline
Files
4
+ 8
0
@@ -41,6 +41,14 @@ func (e *ErrAlreadyExists) Error() string {
return fmt.Sprintf("%v already exists", e.Item)
}
// ErrNoValidUUID implements the Error interface and is called if a UUID is not valid.
type ErrNoValidUUID struct {
}
func (e *ErrNoValidUUID) Error() string {
return fmt.Sprintf("UUID not valid")
}
// ErrInvalidTypeAssertion implements the Error interface and is called if the
// type of a storable item does not correspond to the expected type.
type ErrInvalidTypeAssertion struct {
Loading