File tree Expand file tree Collapse file tree 2 files changed +13
-0
lines changed
Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -33,6 +33,13 @@ describe('index', () => {
3333 expect ( index . identity ) . to . exist ;
3434 } ) ;
3535
36+ it ( 'should export error types' , ( ) => {
37+ expect ( index . ArgumentOutOfRangeError ) . to . exist ;
38+ expect ( index . EmptyError ) . to . exist ;
39+ expect ( index . ObjectUnsubscribedError ) . to . exist ;
40+ expect ( index . UnsubscriptionError ) . to . exist ;
41+ } ) ;
42+
3643 it ( 'should export constants' , ( ) => {
3744 expect ( index . EMPTY ) . to . exist ;
3845 } ) ;
Original file line number Diff line number Diff line change @@ -23,6 +23,12 @@ export { pipe } from './internal/util/pipe';
2323export { noop } from './internal/util/noop' ;
2424export { identity } from './internal/util/identity' ;
2525
26+ /* Error types */
27+ export { ArgumentOutOfRangeError } from './internal/util/ArgumentOutOfRangeError' ;
28+ export { EmptyError } from './internal/util/EmptyError' ;
29+ export { ObjectUnsubscribedError } from './internal/util/ObjectUnsubscribedError' ;
30+ export { UnsubscriptionError } from './internal/util/UnsubscriptionError' ;
31+
2632/* Static observable creation exports */
2733export { bindCallback } from './internal/observable/bindCallback' ;
2834export { bindNodeCallback } from './internal/observable/bindNodeCallback' ;
You can’t perform that action at this time.
0 commit comments