Improve notifications

This commit is contained in:
Tomasz Sęk
2019-10-04 17:34:41 +02:00
parent f3188465c5
commit 9e882d5853
14 changed files with 116 additions and 86 deletions
+6 -1
View File
@@ -11,7 +11,12 @@ import (
)
// GroovyScriptExecutionFailed is custom error type which indicates passed groovy script is invalid
type GroovyScriptExecutionFailed struct{}
type GroovyScriptExecutionFailed struct {
ConfigurationType string
Source string
Name string
Logs string
}
func (e GroovyScriptExecutionFailed) Error() string {
return "script execution failed"