Contact Us 1-800-596-4880

Runtime Types (dw::Runtime)

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.