UNPKG
docutils-ts
Version:
latest (1.0.7)
1.0.7
1.0.6
1.0.5
1.0.4
1.0.3
1.0.2
1.0.1
1.0.0
Port of the Python Docutils library to TypeScript
github.com/boltex/docutils-ts
boltex/docutils-ts
docutils-ts
/
dist
/
src
/
error
/
transformError.js
10 lines
(9 loc)
•
244 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
export
default
class
TransformError
extends
Error
{
constructor
(
message
) {
super
();
if
(
Error
.
captureStackTrace
) {
Error
.
captureStackTrace
(
this
,
TransformError
); }
this
.
message
= message; } }