---
title: "FailureArtifact.Type"
description: "Defines the category of a [FailureArtifact]."
type: "class"
---
## API Reference

> Source set: Common

```kotlin
public class Type private constructor(private val value: Int)
```

Defines the category of a [FailureArtifact](/jetpack-compose/androidx.compose.ui/ui-test/classes/FailureArtifact/api).

## Functions

### toString

> Source set: Common

```kotlin
override fun toString(): String
```

## Members

### Companion

> Source set: Common

```kotlin
public companion object
```

## Properties

### Screenshot

> Source set: Common

```kotlin
public val Screenshot: Type = Type(0)
```

### UiHierarchy

> Source set: Common

```kotlin
public val UiHierarchy: Type = Type(1)
```
