DEV Community

# errors

Posts

👋 Sign in for the ability to sort posts by relevant, latest, or top.
How to solve "window is not defined" errors in React and Next.js

How to solve "window is not defined" errors in React and Next.js

249
Comments 34
3 min read
Complementing exceptions - Introducing monads for error handling in ruby

Complementing exceptions - Introducing monads for error handling in ruby

245
Comments 27
8 min read
Error Handling In JavaScript

Error Handling In JavaScript

95
Comments 3
3 min read
User friendly errors with React error boundaries and fallback components

User friendly errors with React error boundaries and fallback components

94
Comments 3
3 min read
Custom exceptions with JS

Custom exceptions with JS

84
Comments 13
3 min read
Simple and maintainable error-handling in TypeScript

Simple and maintainable error-handling in TypeScript

77
Comments 1
4 min read
npm ERR! Unexpected end of JSON input while parsing near

npm ERR! Unexpected end of JSON input while parsing near

71
Comments 45
1 min read
Ruby Exception handling

Ruby Exception handling

61
Comments 4
2 min read
Five Levels of Error Handling in Both Python and JavaScript

Five Levels of Error Handling in Both Python and JavaScript

58
Comments 4
21 min read
Ergonomic error handling with Rust

Ergonomic error handling with Rust

58
Comments 6
16 min read
The Importance Of Log Files

The Importance Of Log Files

54
Comments 4
3 min read
Create Your Own Custom JS Error Type 🤔

Create Your Own Custom JS Error Type 🤔

47
Comments 1
4 min read
Error 429 Too Many Requests - What to do when you've been rate limited

Error 429 Too Many Requests - What to do when you've been rate limited

43
Comments 3
4 min read
Error Handling with the Either type

Error Handling with the Either type

43
Comments
12 min read
How to use Express JS error handling middleware to make your code cleaner

How to use Express JS error handling middleware to make your code cleaner

42
Comments
7 min read
How to read and understand a Java Stacktrace

How to read and understand a Java Stacktrace

40
Comments 3
7 min read
Handle errors in React components like a pro

Handle errors in React components like a pro

39
Comments 3
4 min read
Reporting non-nullable violations in graphql-ruby properly

Reporting non-nullable violations in graphql-ruby properly

37
Comments
3 min read
We made a community error dashboard for DEV

We made a community error dashboard for DEV

31
Comments 3
2 min read
Fastify Error handlers

Fastify Error handlers

28
Comments 1
4 min read
Better Golang Error Handling

Better Golang Error Handling

26
Comments 3
8 min read
Error Handling in Rust (Actix Web)

Error Handling in Rust (Actix Web)

23
Comments 6
6 min read
Cannot import name 'TextField' from 'wtforms'

Cannot import name 'TextField' from 'wtforms'

22
Comments 8
2 min read
Golang 'error': Everything you know is wrong

Golang 'error': Everything you know is wrong

20
Comments 4
5 min read
F# Error Handling with 'Result'

F# Error Handling with 'Result'

20
Comments 3
4 min read
Logging for Gophers – Idiomatic Log Strategies in Go (Golang)

Logging for Gophers – Idiomatic Log Strategies in Go (Golang)

19
Comments 1
3 min read
Handling Synchronous and Asynchronous Errors in Express.js

Handling Synchronous and Asynchronous Errors in Express.js

19
Comments 1
4 min read
Follow Up: Establishing A Better Pattern

Follow Up: Establishing A Better Pattern

19
Comments 1
5 min read
How to fix the error 'MongoServerError: bad auth : Authentication failed'?

How to fix the error 'MongoServerError: bad auth : Authentication failed'?

18
Comments 9
3 min read
Prevent app crash Node JS

Prevent app crash Node JS

17
Comments
2 min read
Handling GraphQL Errors with Hasura & React

Handling GraphQL Errors with Hasura & React

17
Comments
11 min read
Breadcrumbs for JavaScript in Honeybadger

Breadcrumbs for JavaScript in Honeybadger

16
Comments 2
2 min read
Go: Creating Custom Error Wrapper and Do Proper Error Equality Check

Go: Creating Custom Error Wrapper and Do Proper Error Equality Check

16
Comments 1
10 min read
Custom Errors in JavaScript

Custom Errors in JavaScript

16
Comments 1
2 min read
HTTP Error Code Cheat Sheet

HTTP Error Code Cheat Sheet

16
Comments 10
1 min read
How to use Zustand's persist middleware in Next.js

How to use Zustand's persist middleware in Next.js

16
Comments 13
2 min read
Error Boundaries With React

Error Boundaries With React

15
Comments
3 min read
Return your errors instead of throwing them in typescript

Return your errors instead of throwing them in typescript

15
Comments 3
4 min read
Error handling across different languages

Error handling across different languages

14
Comments
6 min read
How to send consistent error responses from your Express API

How to send consistent error responses from your Express API

14
Comments
7 min read
Learning Nim: Exception Handling - I

Learning Nim: Exception Handling - I

14
Comments
2 min read
REST API Error Handling in Go

REST API Error Handling in Go

14
Comments
9 min read
Reactive error-handling in Angular

Reactive error-handling in Angular

14
Comments
7 min read
Demystifying Exceptions

Demystifying Exceptions

13
Comments
5 min read
NPM - Cannot read property "match" of undefined

NPM - Cannot read property "match" of undefined

13
Comments 6
1 min read
How to fix errors and not get stuck while installing react?

How to fix errors and not get stuck while installing react?

13
Comments 1
2 min read
Mastering Error Handling in JavaScript

Mastering Error Handling in JavaScript

13
Comments 4
3 min read
Warning: Each child in a list should have a unique "key" prop

Warning: Each child in a list should have a unique "key" prop

13
Comments 5
1 min read
express-session failing with typescript (@types/express-session)

express-session failing with typescript (@types/express-session)

13
Comments 6
1 min read
How to fix all build errors in react native(Android specific).

How to fix all build errors in react native(Android specific).

13
Comments
7 min read
Migrating from quick-error to SNAFU: a story on revamped error handling in Rust

Migrating from quick-error to SNAFU: a story on revamped error handling in Rust

12
Comments
11 min read
Build a Javascript async function error handler

Build a Javascript async function error handler

12
Comments 2
2 min read
[Solved]: non-default argument follows default argument

[Solved]: non-default argument follows default argument

11
Comments
1 min read
Logging and Exception Handling in Java

Logging and Exception Handling in Java

11
Comments 2
3 min read
My simple Ruby mishaps

My simple Ruby mishaps

10
Comments 2
3 min read
Heroku Error: item could not be retrieved unauthorized

Heroku Error: item could not be retrieved unauthorized

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

Why should we always catch exceptions by reference?

10
Comments
4 min read
Capture Javascript Async Stack Traces

Capture Javascript Async Stack Traces

10
Comments
2 min read
Exceptions Are Not Errors (featuring Smokey Jones)

Exceptions Are Not Errors (featuring Smokey Jones)

10
Comments
13 min read
"There has been an error"...

"There has been an error"...

10
Comments 6
1 min read
loading...