get_last_error_type#

omni.kit.usd.layers.get_last_error_type(
context_name_or_instance: str | UsdContext = '',
) LayerErrorType#

Gets the error status of the API call bound to specified UsdContext. Any API calls to Layers interface will change the error state. When you want to get the detailed error of your last call, you can use this function to fetch the detailed error type.