#include "Error.hpp"
ansys::Project::Error Class Reference
The return state / error value of a Project function call.
Constructor, OK state.
Constructor, Error state with error message.
Add one error to the object.
Add one info mesage to the object (a OK state is still OK)
Add one warning to the object (a OK state is still OK)
All messages as a single string.
Each type of messages as a separate line prefixed by the appropriate type ( Error: , Warning: , Information )
All errors as a string vector. Empty if ok()
All errors as a single string.
All errors as a single string, with separate lines for each error. Empty string if ok()
All info messages as a string vector.
All warnings as a string vector.
True if no error message.
If false, there is at least one error message. If true, there might be information or warning messages
Equivalent to ok()
Appends all info/warning/error states.
Was this page helpful?