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
Parameter | Description |
---|---|
enabled | If set to true, enable legacy error message format |
Usage
http://localhost:3000
- C#
- C++
- Objective-C
- Java
- JavaScript
- Dart
- Cloud Code
- Raw
_bc.SetOldStyleStatusMessageErrorCallback(false);
_bc->setOldStyleStatusMessageErrorCallback(false);
[_bc setOldStyleStatusMessageErrorCallback:false];
_bc.setOldStyleStatusMessageErrorCallback(false);
// N/A
// N/A
// N/A
// N/A