all
software engineering
data science
operations
discussions
library
dashboard
browse
index
my titles
home
filter
cart
sign in
more
catalog
books
video
projects
audio
free
content
register pBook
subscribe
40 Error handling with Try
After reading
this lesson, you will be able to
Represent a computation that can fail using
Try
Decompose it using pattern matching
Manipulate its value using the
map
,
flatten
, and
flatMap
operations
Chain several
Try
instances using
for-comprehension
Check if a computation has failed and retrieve its value
40.1 Creating a Try
40.2 Pattern matching on Try
40.3 The map, flatten, and flatMap operations
40.3.1 The map function
40.3.2 The flatten function
40.3.3
The flatMap function
40.4 For-comprehension
40.5 Other operations on Try
Summary
Answers to quick checks
sitemap
×
Sign up to our mailing list for exclusive discounts and updates on this and other Manning products.
subscribe
Unable to load book!
The book
could not be loaded.
(try again in a couple of minutes)
manning.com
homepage
test yourself with a liveTest
my
dashboard
recent
reading
shopping
cart
products
all
LB
books
LP
projects
LV
videos
LA
audio
M
MEAP
new edition available
This edition is included with the purchase of the revised book.
subject
General Feedback
Report a Bug
Technical Support
Content Error Report
Feedback on geographical map feature
Chat
Search
Subscriptions
Related sections
Other
email
feedback
submit feedback