// 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.
namespace CefSharp.DevTools.Database
{
///
/// Database error.
///
[System.Runtime.Serialization.DataContractAttribute]
public class Error : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// Error message.
///
[System.Runtime.Serialization.DataMemberAttribute(Name = ("message"), IsRequired = (true))]
public string Message
{
get;
set;
}
///
/// Error code.
///
[System.Runtime.Serialization.DataMemberAttribute(Name = ("code"), IsRequired = (true))]
public int Code
{
get;
set;
}
}
}