Set a default (a noop operation) so you don't have to check for null.

Aka in constructor Error = (ex) => {}