gustafn
committed
on 22 Jun 18
use more appropriate status codes for error messages