mirror of
https://github.com/archtechx/laravel-tips.git
synced 2025-12-12 13:24:03 +00:00
11 lines
No EOL
490 B
Markdown
11 lines
No EOL
490 B
Markdown
---
|
|
title: 'Create an attempt() helper for calls that can silently fail'
|
|
tweet_id: '1464247622558896129'
|
|
thread_slug: weekly-thread-2021-47
|
|
author_username: mattkingshott
|
|
images:
|
|
- 'https://pbs.twimg.com/media/FE9oLAyX0AAhIM8.jpg'
|
|
created_at: 2021-11-26T15:00:12+00:00
|
|
slug: create-an-attempt-helper-for-calls-that-can-silently-fail
|
|
---
|
|
💡#Laravel Tip: Here's a useful little helper for when you need to run some code, but don't really need to handle any exceptions it might generate. |