Bixby Developer Center

Guides
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 {
template-macro (NoItemsInCart)
}
}
}
}
}
}

View 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