Added error
This commit is contained in:
1 parent
6eda8f5249
commit
a9dacee062
2 files changed
+25
No files matched your search
@@ -426,6 +426,15 @@ type Series struct {
|
||||
Year int `json:"year"`
|
||||
}
|
||||
|
||||
type Error struct {
|
||||
Feature string `json:"feature,omitempty"`
|
||||
When time.Time `json:"when"`
|
||||
Err string `json:"err,omitempty"`
|
||||
Stack string `json:"stack,omitempty"`
|
||||
InputData string `json:"input_data,omitempty"`
|
||||
Details string `json:"details,omitempty"`
|
||||
}
|
||||
|
||||
func (s *Series) SetTime(t time.Time) {
|
||||
s.When = t
|
||||
s.Day = t.Day()
|
||||
|
||||
Reference in new issue
Block a user