Free MuleSoft CONNECT Keynote & Expo Pass Available!

Register now+

Runtime Types (dw::Runtime)

Type Definition Description


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.