[][src]Module wasmer_runtime_c_api::error

Read runtime errors.

Structs

CApiError

Functions

update_last_error
wasmer_last_error_length

Gets the length in bytes of the last error. This can be used to dynamically allocate a buffer with the correct number of bytes needed to store a message.

wasmer_last_error_message

Stores the last error message into the provided buffer up to the given length. The length parameter must be large enough to store the last error message.