Skip to main content
Glama
Errors.kt869 B
package maestro.utils.network class InputFieldNotFound : Throwable("Unable to find focused input field") class UnknownFailure(errorResponse: String) : Throwable(errorResponse) sealed class XCUITestServerResult<out T> { data class Success<T>(val data: T): XCUITestServerResult<T>() data class Failure(val errors: XCUITestServerError): XCUITestServerResult<Nothing>() } sealed class XCUITestServerError: Throwable() { data class UnknownFailure(val errorResponse: String) : XCUITestServerError() data class NetworkError(val errorResponse: String): XCUITestServerError() data class AppCrash(val errorResponse: String): XCUITestServerError() data class OperationTimeout(val errorResponse: String, val operation: String): XCUITestServerError() data class BadRequest(val errorResponse: String, val clientMessage: String): XCUITestServerError() }

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/mobile-dev-inc/Maestro'

If you have feedback or need assistance with the MCP directory API, please join our Discord server