Changed error throwen if container is null
Added new error type to KDLerrors