Skip to content

Commit fc41d23

Browse files
committedOct 3, 2021
updated error-constants formatting
1 parent 5090261 commit fc41d23

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed
 

‎src/error-constants.js

+9-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
1-
export const ERROR_LOAD_FILE_OUTSIDE_BROWSER = 'Direct raster loading is currently not supported outside of the browser due to dependency limitations. Please use either a url or run the code in the browser.';
1+
/**
2+
* @prettier
3+
*/
24

3-
export const ERROR_BAD_URL = 'Geoblaze could not load the file. This is usually because the url is incorrect or the website\'s security prevents cross domain requests. Try again or download the file and load it manually.';
5+
export const ERROR_LOAD_FILE_OUTSIDE_BROWSER =
6+
"Direct raster loading is currently not supported outside of the browser due to dependency limitations. Please use either a url or run the code in the browser.";
47

5-
export const ERROR_PARSING_GEOTIFF = 'Geoblaze had a problem parsing this file. Please make sure that you are sending a proper GeoTIFF file and try again.';
8+
export const ERROR_BAD_URL =
9+
"GeoBlaze could not load the file. This is usually because the url is incorrect or the website's security prevents cross domain requests. Try again or download the file and load it manually.";
10+
11+
export const ERROR_PARSING_GEOTIFF = "GeoBlaze had a problem parsing this file. Please make sure that you are sending a proper GeoTIFF file and try again.";

0 commit comments

Comments
 (0)
Please sign in to comment.