.NET (WPF and Windows Forms) bindings for the Chromium Embedded Framework
// Copyright © 2020 The CefSharp Authors. All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
using System.Runtime.Serialization;
namespace CefSharp.DevTools
{
/// <summary>
/// Error Message parsed from JSON
/// e.g. {"code":-32601,"message":"'Browser.getWindowForTarget' wasn't found"}
/// </summary>
[DataContract]
public class DevToolsDomainErrorResponse
/// Message Id
[IgnoreDataMember]
public int MessageId { get; set; }
/// Error Code
[DataMember(Name = "code", IsRequired = true)]
public int Code
get;
set;
}
/// Error Message
[DataMember(Name = "message", IsRequired = true)]
public string Message