errors

package
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 5, 2014 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type StiContainerError

type StiContainerError struct {
	ExitCode int
}

StiContainerError is an error returned when a container exits with a non-zero code. ExitCode contains the exit code for the container

func (StiContainerError) Error

func (e StiContainerError) Error() string

Error returns a string for the given error

type StiError

type StiError int

StiError represents an error thrown during STI execution

const (
	ErrPullImageFailed StiError = iota
	ErrScriptsDownloadFailed
	ErrSaveArtifactsFailed
	ErrBuildFailed
)

func (StiError) Error

func (s StiError) Error() string

Error returns a string for a given error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL