Support for IFuture.ErrorCode