added default Error type