Defines named, modeled errors with the required on-catch clause.
output (Order) {
throws {
error(NoItems) {
on-catch {
halt {
dialog {
macro (NoItemsInCart)
}
}
}
}
}
}
Copyright 2026 Samsung All rights reserved