unexpectedArgumentError

Constructs an $(D_PSYMBOL UnexpectedArgumentError).

arguments contains both actual and expected arguments. First the actual arguments are given. The last argument in Args is a $(D_PSYMBOL Maybe) containing the expected arguments.

unexpectedArgumentError
(
T
Args...
)
(
string name
,,
string file = __FILE__
,
size_t line = __LINE__
,
Throwable nextInChain = null
)

Parameters

T

Object type.

Args

name's actual and expected arguments.

name string

Unexpected call name.

arguments Args

name's actual and expected arguments.

file string

File.

line size_t

Line number.

nextInChain Throwable

The next error.

Meta