Skip to main content

odin_is_error

bool odin_is_error(enum OdinError error);

Overview​

Checks if the provided error code indicates an error state.

Parameters​

NameTypeDescription
errorOdinErrorThe return code to check.

Return Value​

TypeDescription
booltrue if code is an error, false otherwise.