API/Autodoc/Files


Source code

# @brief Error information.
class_name RuStoreError extends RefCounted

#   Contains the simpleName of the error class.
var name: String = ""

# @brief Error message.
var description: String = ""

func _init(json: String = ""):
    if json != "":
        var obj = JSON.parse_string(json)
        
        if obj.has("simpleName"):
            name = obj["simpleName"]
        
        if obj.has("detailMessage"):
            description = obj["detailMessage"]