• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

setStatus

 
Bob Moranski
Ranch Hand
Posts: 177
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, I was wondering about res.sendError(..). Is it for 404 only or for others as well like SC_UNAUTHORIZED, etc?
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13058
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't see anything in the API to restrict sendError() to 404
Bill
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic