all: error-aware API + error checks