github.com/ablease/cli@v6.37.1-0.20180613014814-3adbb7d7fb19+incompatible/actor/actionerror/isolation_segment_not_found_error.go (about) 1 package actionerror 2 3 import "fmt" 4 5 // IsolationSegmentNotFoundError represents the error that occurs when the 6 // isolation segment is not found. 7 type IsolationSegmentNotFoundError struct { 8 Name string 9 } 10 11 func (e IsolationSegmentNotFoundError) Error() string { 12 return fmt.Sprintf("Isolation Segment '%s' not found.", e.Name) 13 }