add handling of Play Framework specific errors