add usage/error catching docs