github.com/wanddynosios/cli/v8@v8.7.9-0.20240221182337-1a92e3a7017f/actor/actionerror/isolation_segment_already_exists_error.go (about)

     1  package actionerror
     2  
     3  import "fmt"
     4  
     5  // IsolationSegmentAlreadyExistsError gets returned when an isolation segment
     6  // already exists.
     7  type IsolationSegmentAlreadyExistsError struct {
     8  	Name string
     9  }
    10  
    11  func (e IsolationSegmentAlreadyExistsError) Error() string {
    12  	return fmt.Sprintf("Isolation Segment '%s' already exists.", e.Name)
    13  }