Skip to content

Commit cc2fbe6

Browse files
committed
docs(either-errors): snippets and content
1 parent 73a5fa1 commit cc2fbe6

File tree

3 files changed

+13
-0
lines changed

3 files changed

+13
-0
lines changed
Loading
Loading
+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# Wyraź swoje metody!
2+
3+
Zachodzisz w głowę, czy i jakie błędy może zwrócić funkcja? Ułatw życie sobie i innym poprzez ekspresję intencji!
4+
5+
![Returning Either](01-either-declaration.png)
6+
7+
([Zobacz w praktyce!](link do repo))
8+
9+
# Skoro wyjątek może być wartością, to czym?
10+
11+
`enum`? `Symbol`? Przewagą `Symbol` jest możliwość uni typów.
12+
13+
![Symbol vs enum](02-symbol-enum.png)

0 commit comments

Comments
 (0)