Bixby Developer Center

References

error

optionalmultiple allowedvalue required

Defines named, modeled errors with the required on-catch clause.

Example

  output (Order) {
throws {

error(NoItems) {
on-catch {
halt {
dialog {
macro (NoItemsInCart)
}
}
}
}
}
}

View 9e597a8 on GitHub

Child Keys

on-catch
required
Defines the effects that are applied to handle an error
property
optional
Defines the related properties, types, and cardinality for errors