mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-08-28 10:54:59 +00:00
```bash for file in `cat diffys`; do printf '%s\n%s\n' "// Copyright 2021 Molecula Corp. All rights reserved." "$(cat $file)" >$file; done ```
13 lines
317 B
Go
13 lines
317 B
Go
// Copyright 2021 Molecula Corp. All rights reserved.
|
|
package http
|
|
|
|
// Error defines a standard application error.
|
|
type Error struct {
|
|
// Human-readable message.
|
|
Message string `json:"message"`
|
|
}
|
|
|
|
// Error returns the string representation of the error message.
|
|
func (e *Error) Error() string {
|
|
return e.Message
|
|
}
|