Scroll to navigation

lsm_error_exception_get(3) Libstoragemgmt C API Manual lsm_error_exception_get(3)

NAME

lsm_error_exception_get - Retrieves the exception message from the error.

SYNOPSIS

char * lsm_error_exception_get (lsm_error_ptr e);

ARGUMENTS

The lsm_error to retrieves exception message from.

VERSION

1.0

DESCRIPTION

Retrieves the exception message for the specified lsm_error.

NOTE

Address returned is valid until lsm_error gets freed, copy return value if you need longer scope. Do not free returned string.

RETURN

string. NULL if argument 'e' is NULL or not a valid lsm_error_ptr.

lsm_error_exception_get April 2023