adjust_error_code


Description:

[ NoWrapper ]
[ Version ( since = "1.22" ) ]
public virtual StatusCode adjust_error_code (Context ctx, StatusCode code)

Called before sending error response to give the application the possibility to adjust the error code.

Parameters:

this

a Client

ctx

a Context

code

a StatusCode

Returns:

a StatusCode, containing the adjusted error code.