Skip to main content
Version: 5.7.0

SetOldStyleStatusMessageErrorCallback

Sets the error callback to return the status message instead of the error JSON string. This flag is used to conform to pre-2.17 client behavior.

caution

This flag is only intended for backward compatibility and is NOT recommended to be enabled otherwise.

Method Parameters

ParameterDescription
enabledIf set to true, enable legacy error message format

Usage

http://localhost:3000
_bc.SetOldStyleStatusMessageErrorCallback(false);