Marked ApiErrors @Inherted so as to avoid copy-pasting them in all the subclassed controllers.