Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ActivityError

type ActivityError struct {
	Message        string // Text message.
	MessageWindows string // Test message specific to the Windows platform.
	NRE            bool   // Process as a NRE error.
}

ActivityError describes an error assertion, where its zero value is a non-error. Its Assert method is used to assert against a given error value.

func (ActivityError) Assert

func (ae ActivityError) Assert(t *testing.T, err error)

func (ActivityError) AssertNilError

func (ae ActivityError) AssertNilError(t *testing.T, err error)

func (ActivityError) IsZero

func (ae ActivityError) IsZero() bool

Source Files