Support for capture error code