public static DeezerPlayerException FromDzErrorCode(dz_error_t err)
        {
            DeezerPlayerException ex = new DeezerPlayerException();

            ex.DzErrorCode = err;

            throw ex;
        }
        public static void HandleDzErrorCode(string operation, dz_error_t err, bool throwException = true)
        {
            if (IsError(err))
            {
                Logger.LogTrace("{0} => {1}", operation, err);

                if (throwException)
                {
                    throw DeezerPlayerException.FromDzErrorCode(err);
                }
            }
        }