hugo/hugofs
Bjørn Erik Pedersen f2946da9e8 Improve error messages, esp. when the server is running
* Add file context to minifier errors when publishing
* Misc fixes (see issues)
* Allow custom server error template in layouts/server/error.html

To get to this, this commit also cleans up and simplifies the code surrounding errors and files. This also removes the usage of `github.com/pkg/errors`, mostly because of https://github.com/pkg/errors/issues/223 -- but also because most of this is now built-in to Go.

Fixes #9852
Fixes #9857
Fixes #9863
2022-05-06 19:43:22 +02:00
..
files Misc depreation updates 2022-01-04 17:10:39 +01:00
glob hugofs: Add includeFiles and excludeFiles to mount configuration 2021-10-20 05:00:17 +02:00
createcounting_fs.go Rework the Destination filesystem to make --renderStaticToDisk work 2022-04-08 13:26:17 +02:00
decorators.go Improve error messages, esp. when the server is running 2022-05-06 19:43:22 +02:00
fileinfo.go Improve error messages, esp. when the server is running 2022-05-06 19:43:22 +02:00
fileinfo_test.go hugofs: Make FileMeta a struct 2021-07-15 17:14:26 +02:00
filename_filter_fs.go Rework the Destination filesystem to make --renderStaticToDisk work 2022-04-08 13:26:17 +02:00
filename_filter_fs_test.go hugofs: Add includeFiles and excludeFiles to mount configuration 2021-10-20 05:00:17 +02:00
filter_fs.go Rework the Destination filesystem to make --renderStaticToDisk work 2022-04-08 13:26:17 +02:00
filter_fs_test.go all: Format code with gofumpt 2020-12-03 13:12:58 +01:00
fs.go Revert "Revert "Fix PostProcess regression for hugo server"" 2022-04-18 19:17:27 +02:00
fs_test.go Rework the Destination filesystem to make --renderStaticToDisk work 2022-04-08 13:26:17 +02:00
glob.go all: Format code with gofumpt 2020-12-03 13:12:58 +01:00
glob_test.go hugofs: Make FileMeta a struct 2021-07-15 17:14:26 +02:00
hashing_fs.go Rework the Destination filesystem to make --renderStaticToDisk work 2022-04-08 13:26:17 +02:00
hashing_fs_test.go all: Format code with gofumpt 2020-12-03 13:12:58 +01:00
language_merge.go Replace all usage of CopyOnWriteFs with OverlayFs 2022-04-10 13:49:31 +02:00
noop_fs.go Replace all usage of CopyOnWriteFs with OverlayFs 2022-04-10 13:49:31 +02:00
nosymlink_fs.go Rework the Destination filesystem to make --renderStaticToDisk work 2022-04-08 13:26:17 +02:00
nosymlink_test.go all: Fix minor typos 2020-12-16 12:11:32 +01:00
rootmapping_fs.go Improve error messages, esp. when the server is running 2022-05-06 19:43:22 +02:00
rootmapping_fs_test.go Rework the Destination filesystem to make --renderStaticToDisk work 2022-04-08 13:26:17 +02:00
slice_fs.go Improve error messages, esp. when the server is running 2022-05-06 19:43:22 +02:00
stacktracer_fs.go Rework the Destination filesystem to make --renderStaticToDisk work 2022-04-08 13:26:17 +02:00
walk.go Improve error messages, esp. when the server is running 2022-05-06 19:43:22 +02:00
walk_test.go Improve error messages, esp. when the server is running 2022-05-06 19:43:22 +02:00