FuncDeclaration.setThrow

The function is doing something that may throw an exception, register that in case nothrow is being inferred

class FuncDeclaration
extern (D) final
void
setThrow
(,
const(char)* fmt
,
RootObject arg0 = null
)

Parameters

loc Loc

location of action

fmt const(char)*

format string for error message

arg0 RootObject

(optional) argument to format string

Meta