Lazy error instance creation.