UNPKG
@logux/client
Version:
latest (0.23.2)
0.23.2
0.23.1
0.23.0
0.22.3
0.22.2
0.22.1
0.22.0
0.21.1
0.21.0
0.20.1
0.20.0
0.19.0
0.18.4
0.18.3
0.18.2
0.18.1
0.18.0
0.17.0
0.16.0
0.15.3
0.15.2
0.15.1
0.15.0
0.14.7
0.14.6
0.14.5
0.14.4
0.14.3
0.14.2
0.14.1
0.14.0
0.13.3
0.13.2
0.13.1
0.13.0
0.12.1
0.12.0
0.11.1
0.11.0
0.10.0
0.9.3
0.9.2
0.9.1
0.9.0
0.8.5
0.8.4
0.8.3
0.8.2
0.8.1
0.8.0
0.7.0
0.6.0
0.5.2
0.5.1
0.5.0
0.4.0
0.3.4
0.3.3
0.3.2
0.3.1
0.3.0
Logux base components to build web client
logux.org
logux/client
@logux/client
/
logux-undo-error
/
index.js
9 lines
(8 loc)
•
255 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
export
class
LoguxUndoError
extends
Error
{
constructor
(
action
) {
let
type
= action.
action
? action.
action
.
type
:
'action'
super
(
`Server undid
${
type
}
because of
${action.reason}
`
)
this
.
name
=
'LoguxUndoError'
this
.
action
= action } }