Adding error enum to basic api in markdown