    

 ## On this page

  

 

 # getErrorID

 Last update: 30.07.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)

get the error id for the specified run

#### Return

the error id - will be 0 if no error occurred

#### Parameters

runthe run to get the error for (0-based index)#### Throws

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