ErrorDetail.withCode(String code) Method

Definition

Set the error's code.

public ErrorDetail withCode(String code)

Parameters

code
java.lang.String

the code value to set

Returns

the ErrorDetail object itself.

Applies to