    

 ## On this page

  

 

 # getErrorID

 Last update: 18.06.2026 

public [getErrorID](get-error-i-d.md)(run: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html)): [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html)

returns the ID of the Error that occured in the DataHistory

#### Return

long

#### Parameters

runthe index of the run (0-based index)#### Throws

[ModelCenterException](./../-model-center-exception/index.md)