diff options
-rw-r--r-- | pom.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -156,12 +156,16 @@ POM__MUST_USE_R; /// /// This will be a string such as `"Duplicate key: foo.bar"` /// +/// The returned pointer is valid until the error is freed. +/// /// See also \ref pom_error_print and \ref pom_error_to_string, which /// are probably actually what you want in most cases. const char * pom_error_message(const pom_error *error); /// Get the name of the file where this error occured. +/// +/// The returned pointer is valid until \ref pom_conf_free is called. const char * pom_error_file(const pom_error *error); |