Skip to content
  • P
    Projects
  • G
    Groups
  • S
    Snippets
  • Help

丁松杰 / Pole

  • This project
    • Loading...
  • Sign in
Go to a project
  • Project
  • Repository
  • Issues 0
  • Merge Requests 0
  • Pipelines
  • Wiki
  • Snippets
  • Members
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Branches
  • Tags
  • Contributors
  • Graph
  • Compare
  • Charts
Switch branch/tag
  • Pole
  • src
  • Pole.Core
  • Exceptions
  • StateInsecurityException.cs
Find file
BlameHistoryPermalink
  • 丁松杰's avatar
    event bus 基本代码 · d9d03b97
    丁松杰 committed 5 years ago
    d9d03b97
StateInsecurityException.cs 458 Bytes
1 2 3 4 5 6 7 8 9 10 11 12
using System;

namespace Pole.Core.Exceptions
{
    public class StateInsecurityException : Exception
    {
        public StateInsecurityException(string id, Type grainType, long doingVersion, long stateVersion) :
            base($"State insecurity of Grain type {grainType.FullName} and Id {id},Maybe because the previous event failed to execute.There state version are {stateVersion} and doing version are {doingVersion}")
        {
        }
    }
}