:fail :ok status codes and exception handling