DEV Community

# exceptions

Posts

👋 Sign in for the ability to sort posts by relevant, latest, or top.
Custom exceptions with JS

Custom exceptions with JS

84
Comments 13
3 min read
Catching every single exception with Python

Catching every single exception with Python

62
Comments 10
4 min read
Top 10 Dotnet Exception Anti-Patterns in C#

Top 10 Dotnet Exception Anti-Patterns in C#

47
Comments 5
10 min read
Exceptions in Java lambdas

Exceptions in Java lambdas

42
Comments 4
5 min read
Clean Code: Exceptions e Tratamentos de Erros

Clean Code: Exceptions e Tratamentos de Erros

38
Comments
5 min read
Why Functional Programmers Avoid Exceptions

Why Functional Programmers Avoid Exceptions

36
Comments 10
9 min read
This week in Rails

This week in Rails

19
Comments 2
2 min read
Hide Checked Exceptions with SneakyThrows

Hide Checked Exceptions with SneakyThrows

14
Comments 2
4 min read
Avoiding NullPointerException

Avoiding NullPointerException

13
Comments
5 min read
Demystifying Exceptions

Demystifying Exceptions

13
Comments
5 min read
Mostrar excepciones de una API en Laravel.

Mostrar excepciones de una API en Laravel.

11
Comments 1
1 min read
Why should we always catch exceptions by reference?

Why should we always catch exceptions by reference?

10
Comments
4 min read
Show API exceptions in Laravel.

Show API exceptions in Laravel.

10
Comments
1 min read
Exception Factories for better code

Exception Factories for better code

9
Comments
2 min read
Handle errors with your convention in ASP.NET Core

Handle errors with your convention in ASP.NET Core

9
Comments
4 min read
Porque você deve usar tratamento de exceções em seus projetos PHP.

Porque você deve usar tratamento de exceções em seus projetos PHP.

8
Comments 3
6 min read
Refactoring 004 - Remove Unhandled Exceptions

Refactoring 004 - Remove Unhandled Exceptions

8
Comments
1 min read
Better way to try...except...pass in Python

Better way to try...except...pass in Python

8
Comments
1 min read
Presenting Exceptions to Users

Presenting Exceptions to Users

8
Comments
8 min read
Either Types for Rust

Either Types for Rust

7
Comments 3
4 min read
Debugging System.NullReferenceException - Object reference not set to an instance of an object

Debugging System.NullReferenceException - Object reference not set to an instance of an object

7
Comments
6 min read
Unchecked vs checked exception (with FP glasses)

Unchecked vs checked exception (with FP glasses)

7
Comments 7
4 min read
pytest Exceptions - Part I

pytest Exceptions - Part I

6
Comments
2 min read
What to Except When You're Excepting: Python error handling dos & don'ts

What to Except When You're Excepting: Python error handling dos & don'ts

6
Comments 6
5 min read
Effective Java: Include Failure-Capture Information in Detail Messages

Effective Java: Include Failure-Capture Information in Detail Messages

6
Comments
2 min read
Working with custom exceptions in namespaced files

Working with custom exceptions in namespaced files

6
Comments
2 min read
🐞 Catch exceptions in Flutter with Catcher & Sentry

🐞 Catch exceptions in Flutter with Catcher & Sentry

6
Comments
2 min read
Exceptional C

Exceptional C

6
Comments 22
3 min read
Effective Java: Strive for Failure Atomicity

Effective Java: Strive for Failure Atomicity

5
Comments
3 min read
Code Smell 80 - Nested Try/Catch

Code Smell 80 - Nested Try/Catch

5
Comments
2 min read
Throwing exceptions vs Returning failure object

Throwing exceptions vs Returning failure object

5
Comments 2
1 min read
A Word About psycopg2 Exceptions

A Word About psycopg2 Exceptions

4
Comments
2 min read
Binary size and exceptions

Binary size and exceptions

4
Comments
9 min read
Is there a price to pay for using exceptions?

Is there a price to pay for using exceptions?

3
Comments 1
5 min read
Don't ignore caught exceptions

Don't ignore caught exceptions

3
Comments
1 min read
Either Types as an alternative to throwing exceptions in Kotlin

Either Types as an alternative to throwing exceptions in Kotlin

3
Comments
5 min read
Either Types extended version

Either Types extended version

3
Comments
1 min read
Code Smell 26 - Exceptions Polluting

Code Smell 26 - Exceptions Polluting

3
Comments
2 min read
The Closed Loop

The Closed Loop

3
Comments
3 min read
Effective Java: Throw Exceptions Appropriate To The Abstraction

Effective Java: Throw Exceptions Appropriate To The Abstraction

3
Comments
3 min read
How to Implement Error Handling in Python with Try-Except Blocks

How to Implement Error Handling in Python with Try-Except Blocks

3
Comments
5 min read
Effective Java: Favor The Use of Standard Exceptions

Effective Java: Favor The Use of Standard Exceptions

2
Comments
4 min read
Effective Java: Don't Ignore Exceptions

Effective Java: Don't Ignore Exceptions

2
Comments
2 min read
Effective Java: Avoid Unnecessary Use of Checked Exceptions

Effective Java: Avoid Unnecessary Use of Checked Exceptions

2
Comments
2 min read
Effective Java: Use Checked Exceptions for Recoverable Conditions

Effective Java: Use Checked Exceptions for Recoverable Conditions

2
Comments
2 min read
Effective Java: Use Exceptions for Only Exceptional Circumstances

Effective Java: Use Exceptions for Only Exceptional Circumstances

2
Comments
3 min read
Spring Boot: Everything you need to know, and what nobody told you. Part IV

Spring Boot: Everything you need to know, and what nobody told you. Part IV

2
Comments
8 min read
10 Tips to Optimize Memory Usage and Avoid Common Exceptions in Java

10 Tips to Optimize Memory Usage and Avoid Common Exceptions in Java

2
Comments
2 min read
Effective Java: Document All Exceptions Thrown By Each Method

Effective Java: Document All Exceptions Thrown By Each Method

2
Comments
1 min read
It's never easy knowing when to use exception handling. In this post I explain a simple rule

It's never easy knowing when to use exception handling. In this post I explain a simple rule

1
Comments
2 min read
documented: make docstrings in your exceptions work

documented: make docstrings in your exceptions work

1
Comments
2 min read
Laravel API Error Exception Handling Methodologies.

Laravel API Error Exception Handling Methodologies.

1
Comments
2 min read
The performance cost of pl/pgsql exception block in Postgres

The performance cost of pl/pgsql exception block in Postgres

1
Comments 1
3 min read
Say "no" to silent failures in your methods

Say "no" to silent failures in your methods

1
Comments
3 min read
Namespaced errors for Ruby

Namespaced errors for Ruby

1
Comments
2 min read
Kotlin in the backend, Spring with Kotlin Part 2 — Exception Handling

Kotlin in the backend, Spring with Kotlin Part 2 — Exception Handling

1
Comments
1 min read
Introduction aux exceptions en Java

Introduction aux exceptions en Java

Comments
3 min read
When to catch an Exception?

When to catch an Exception?

Comments
3 min read
C++23: two additional noexcept functions

C++23: two additional noexcept functions

Comments 1
3 min read
Effective exception handling in browser and Node.js

Effective exception handling in browser and Node.js

Comments
2 min read
loading...