packages feed

chiasma-0.12.2.0: lib/Chiasma/Ui/Data/TreeModError.hs

module Chiasma.Ui.Data.TreeModError where

import Chiasma.Data.Ident (Ident)

import Chiasma.Ui.Data.View (LayoutView, PaneView)

data TreeModError =
  PaneExists PaneView
  |
  LayoutExists LayoutView
  |
  PaneMissing Ident
  |
  LayoutMissing Ident
  |
  AmbiguousPane Ident Int
  |
  AmbiguousLayout Ident Int
  |
  NoTrees
  deriving stock (Eq, Show)