-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Expose GeoServerResponseError to user
- Loading branch information
1 parent
e1910ad
commit 9a66c88
Showing
1 changed file
with
2 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change | ||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
@@ -8,6 +8,8 @@ import SettingsClient from './src/settings.js'; | |||||||||
import NamespaceClient from './src/namespace.js'; | ||||||||||
import AboutClient from './src/about.js'; | ||||||||||
|
||||||||||
export { GeoServerResponseError } from './src/util/geoserver.js' | ||||||||||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
JakobMiksch
Author
Contributor
|
export { | |
getGeoServerResponseText, | |
GeoServerResponseError | |
} |
To my understanding, the file geoserver-rest-client.js
is the top level entry point where all objects are exported that should be visible to the user of the library. That's why it is exported in geoserver-rest-client.js
again.
This comment has been minimized.
This comment has been minimized.
Sorry, something went wrong.
Shouldn't the export be better placed in the source file of
GeoServerResponseError
itself? Or did you place it here by purpose?