A front-end web developer in Korea
“Any fool can write code that a computer can understand. Good programmers write code that humans can understand.” — Martin Fowler
Empty objects are not the right tool for this job. If something is exceptional you should throw an exception.
tl;dr: less code = less parse/compile + less transfer + less to decompress