Type Definition Description TryResult type TryResult = { success: Boolean, result?: T, error?: { kind: String, message: String, stack?: Array<String>, location?: String } } Object with a result or error message. If success is false, it contains the error. If true, it provides the result.
Type Definition Description TryResult type TryResult = { success: Boolean, result?: T, error?: { kind: String, message: String, stack?: Array<String>, location?: String } } Object with a result or error message. If success is false, it contains the error. If true, it provides the result.