A message that can automatically capture source locations.
Synopsis
Declared in <folly/result/rich_msg.h>
class rich_msg;
Description
Usage: rich_msg msg1{"error: {} at {}", code, line};
Member Functions
Name |
Description |
|
Constructors |
Returns the captured source location. |
|
Returns the message text. |
|
Moves out the underlying message string. |
Non-Member Functions
Name |
Description |
Builds an error from a message and multiple codes. |
|
|
Builds an error from a message and multiple codes. |
Builds an error from a message and multiple codes. |
Created with MrDocs