Move errors settings to the constructor