mirror of
https://github.com/kevin-DL/revel-cmd.git
synced 2026-01-15 20:24:44 +00:00
Added ability to readback output from command line
Updated readme
This commit is contained in:
@@ -23,6 +23,15 @@ type (
|
||||
IsError bool
|
||||
}
|
||||
)
|
||||
// Return a new error object
|
||||
func NewError(source, title,path,description string) *Error {
|
||||
return &Error {
|
||||
SourceType:source,
|
||||
Title:title,
|
||||
Path:path,
|
||||
Description:description,
|
||||
}
|
||||
}
|
||||
|
||||
// Creates a link based on the configuration setting "errors.link"
|
||||
func (e *Error) SetLink(errorLink string) {
|
||||
|
||||
Reference in New Issue
Block a user