expectationViolationException

Constructs an $(D_PSYMBOL ExpectationViolationException).

expectationViolationException
(
T
MaybeArgs
)
(
string name
,
MaybeArgs arguments
,
string file = __FILE__
,
size_t line = __LINE__
,
Throwable nextInChain = null
)

Parameters

T

Object type.

MaybeArgs

name's argument types.

name string

Call name.

arguments MaybeArgs

name's arguments.

file string

File.

line size_t

Line number.

nextInChain Throwable

The next error.

Meta