package slack

  1. Overview
  2. Docs

Error detection in Slack API response. The web API communicates errors using an error field rather than status codes. Note, on the other hand, that webhooks do use status codes to communicate errors.

val normalize : Yojson.Safe.t -> Yojson.Safe.t

Convert a real json tree into an atd-compliant form.

val restore : Yojson.Safe.t -> Yojson.Safe.t

Convert an atd-compliant json tree into a real json tree.