github.com/liamawhite/cli-with-i18n@v6.32.1-0.20171122084555-dede0a5c3448+incompatible/actor/actionerror/staging_timeout_error.go (about) 1 package actionerror 2 3 import ( 4 "fmt" 5 "time" 6 ) 7 8 // StagingTimeoutError is returned when staging timeout is reached waiting for 9 // an application to stage. 10 type StagingTimeoutError struct { 11 Name string 12 Timeout time.Duration 13 } 14 15 func (e StagingTimeoutError) Error() string { 16 return fmt.Sprintf("Timed out waiting for application '%s' to stage", e.Name) 17 }