Exemple #1
0
        private void WriteError(AmfError error)
        {
            WriteString(error.GetType().FullName);
            WriteString("level");
            Write((byte)DataType.String);
            WriteString(error.Level);

            WriteString("code");
            Write((byte)DataType.String);
            WriteString(error.Code);

            WriteString("details");
            Write((byte)DataType.String);
            WriteString(error.Details);

            WriteString("description");
            Write((byte)DataType.String);
            WriteString(error.Description);

            WriteString("type");
            Write((byte)DataType.String);
            WriteString(error.Type);

            WriteEnd();
        }
Exemple #2
0
        private void WriteError(AmfError error)
        {
            WriteString(error.GetType().FullName);
            WriteString("level");
            Write((byte)DataType.String);
            WriteString(error.Level);

            WriteString("code");
            Write((byte)DataType.String);
            WriteString(error.Code);

            WriteString("details");
            Write((byte)DataType.String);
            WriteString(error.Details);

            WriteString("description");
            Write((byte)DataType.String);
            WriteString(error.Description);

            WriteString("type");
            Write((byte)DataType.String);
            WriteString(error.Type);

            WriteEnd();
        }