Validation And Errors
This page documents the Ruby API for validation and errors. Values use keyword-only construction, validate before freezing, and serialize to Slack JSON.
ValidationError
Raised when a Slack rule fails. category is one of six stable wire names; path identifies the offending value.
category
Validation category, such as length-exceeded or type-mismatch.
def category: () -> String
path
Root value type followed by wire field names and array indexes.
def path: () -> String