Skip to content

Commit ad9bcc7

Browse files
committed
Book Updates
-add chapter 6
1 parent f9130a9 commit ad9bcc7

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed

.vitepress/config.mts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,14 @@ export default defineConfig({
7676
{ text: "Chapter 5.3", link: "/book/chapter5.3" },
7777
],
7878
},
79+
{
80+
text: "Chapter 6",
81+
link: "/book/chapter6",
82+
items: [
83+
{ text: "Chapter 6.1", link: "/book/chapter6.1" },
84+
{ text: "Chapter 6.2", link: "/book/chapter6.2" },
85+
],
86+
},
7987
],
8088
},
8189
],

book/chapter6.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
title: "Chapter 6"
3+
---
4+
5+
# Chapter 6: Error Handling
6+
7+
Smooth sailing from here! In this chapter, we’ll discuss:
8+
9+
- Errors and things you may encounter while using GLang
10+
- Graceful error handling with `try`/`catch`

0 commit comments

Comments
 (0)