github.com/secure-build/gitlab-runner@v12.5.0+incompatible/executors/custom/command/errors.go (about)

     1  package command
     2  
     3  import (
     4  	"fmt"
     5  )
     6  
     7  type ErrUnknownFailure struct {
     8  	Inner    error
     9  	ExitCode int
    10  }
    11  
    12  func (e *ErrUnknownFailure) Error() string {
    13  	return fmt.Sprintf(
    14  		"unknown Custom executor executable exit code %d; executable execution terminated with: %v",
    15  		e.ExitCode,
    16  		e.Inner,
    17  	)
    18  }