github.com/loafoe/cli@v7.1.0+incompatible/actor/actionerror/security_group_not_found_error.go (about)

     1  package actionerror
     2  
     3  import "fmt"
     4  
     5  // SecurityGroupNotFoundError is returned when a requested security group is
     6  // not found.
     7  type SecurityGroupNotFoundError struct {
     8  	Name string
     9  }
    10  
    11  func (e SecurityGroupNotFoundError) Error() string {
    12  	return fmt.Sprintf("Security group '%s' not found.", e.Name)
    13  }