mirror of
https://github.com/cefsharp/CefSharp.git
synced 2026-12-04 08:34:55 +00:00
fb779a5b46
- Moves the Dependency of System.Text.Json from CefSharp.dll BrowserSubProcess as a result no longer has a reference where wasn't required for it's operation. Resolves #4428 #4427
43 lines
1.0 KiB
C#
43 lines
1.0 KiB
C#
// 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
|
|
{
|
|
/// <summary>
|
|
/// Message Id
|
|
/// </summary>
|
|
[IgnoreDataMember]
|
|
public int MessageId { get; set; }
|
|
|
|
/// <summary>
|
|
/// Error Code
|
|
/// </summary>
|
|
[DataMember(Name = "code", IsRequired = true)]
|
|
public int Code
|
|
{
|
|
get;
|
|
set;
|
|
}
|
|
|
|
/// <summary>
|
|
/// Error Message
|
|
/// </summary>
|
|
[DataMember(Name = "message", IsRequired = true)]
|
|
public string Message
|
|
{
|
|
get;
|
|
set;
|
|
}
|
|
}
|
|
}
|