-L check + new format for error classes