tbm_module: get the error type at tbm_module_bufmgr_get_capabilities