    

 ## On this page

  

 

 # getErrorMessage

 Last update: 30.07.2026 

public [getErrorMessage](get-error-message.md)(run: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html)): [String](https://docs.oracle.com/javase/8/docs/api/java/lang/String.html)

returns a string containing the error message for a given run

#### Return

String

#### Parameters

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

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