TGError
enum TGError {}
Error statuses from Tangram
-
No Error
Declaration
Objective-C
TGErrorNone
Swift
case none = 0
-
The path of the scene update was not found on the scene file
Declaration
Objective-C
TGErrorSceneUpdatePathNotFound
Swift
case sceneUpdatePathNotFound = 1
-
The YAML syntax of the scene udpate path has a syntax error
Declaration
Objective-C
TGErrorSceneUpdatePathYAMLSyntaxError
Swift
case sceneUpdatePathYAMLSyntaxError = 2
-
The YAML syntax of the scene update value has a syntax error
Declaration
Objective-C
TGErrorSceneUpdateValueYAMLSyntaxError
Swift
case sceneUpdateValueYAMLSyntaxError = 3
-
No valid scene was loaded (and on tries to update the scene)
Declaration
Objective-C
TGErrorNoValidScene
Swift
case noValidScene = 4
-
An error code for markers
Declaration
Objective-C
TGErrorMarker
Swift
case marker = 5