This class wraps a filename and another Error.
Synopsis
Declared in <llvm/Support/Error.h>
class FileError final
: public ErrorInfo<FileError>
Description
In some cases, an error needs to live along a 'source' name, in order to show more detailed information to the user.
Base Classes
Name |
Description |
Base class for user error types. Users should declare their error types like: |
Member Functions
Name |
Description |
|
Convert this file error to a std::error_code. |
Return the file name associated with this error. |
|
|
Write the file name (and optional line) plus nested error to |
Return the wrapped error message without the file‐name prefix. |
|
Take ownership of the wrapped Error, leaving this FileError empty. |
Static Member Functions
Name |
Description |
Return the RTTI class identifier for |
Static Data Members
Name |
Description |
RTTI identifier used by ErrorInfo::classID. |
Using Declarations
Name |
Description |
Inherit constructors from the parent error‐info type. |
Friends
Name |
Description |
Concatenate a source file path and/or name with line number and an Error. The resulting Error is unchecked. |
|
Concatenate a source file path and/or name with an Error. The resulting Error is unchecked. |
Created with MrDocs