StackOverflow Questions for Tag: rescue

boddhisattva
boddhisattva

Reputation: 7400

How to catch the mocked infinite loop behavior and handle it with a rescue block using RSpec

Score: 1

Views: 416

Answers: 0

Read More
sagar junnarkar
sagar junnarkar

Reputation: 1280

How can I password-protect my /sidekiq route (i.e. require authentication for the Sidekiq::Web tool)?

Score: 66

Views: 29056

Answers: 10

Read More
DariusP
DariusP

Reputation: 513

Why do I get NoMethodError: undefined method `rescue' for #<Concurrent::Future:...>?

Score: 0

Views: 282

Answers: 1

Read More
xxjjnn
xxjjnn

Reputation: 15259

rails respond_to in controller rescue block

Score: 1

Views: 1827

Answers: 3

Read More
user2398029
user2398029

Reputation: 6957

How to abort a Ruby script when raising an Exception?

Score: 4

Views: 3618

Answers: 4

Read More
Matt
Matt

Reputation: 14048

Rescue all errors of a specific type inside a module

Score: 7

Views: 5451

Answers: 2

Read More
Phil Brockwell
Phil Brockwell

Reputation: 465

Ruby rescue exception during multiple methods

Score: 7

Views: 3825

Answers: 4

Read More
13aal
13aal

Reputation: 1674

Invalid next compile error

Score: 0

Views: 568

Answers: 1

Read More
boulder_ruby
boulder_ruby

Reputation: 39763

ruby rescue block

Score: 1

Views: 619

Answers: 2

Read More
GhostRider
GhostRider

Reputation: 2170

Correct syntax for rescue and next in a each loop

Score: 2

Views: 6132

Answers: 2

Read More
sferencik
sferencik

Reputation: 3249

Ruby rescue and abort

Score: 1

Views: 345

Answers: 0

Read More
Sid
Sid

Reputation: 6264

How does one use rescue in Ruby without the begin and end block

Score: 136

Views: 51052

Answers: 5

Read More
Rashmi Balkur
Rashmi Balkur

Reputation: 337

test coverage for rescue blocks in rspec

Score: 1

Views: 226

Answers: 0

Read More
WonderingBear
WonderingBear

Reputation:

For ASP.NET MVC Rescues View, how do we add ViewData fields?

Score: 0

Views: 304

Answers: 1

Read More
user1375096
user1375096

Reputation:

Does Ruby's $! hold value only in rescue block?

Score: 12

Views: 1876

Answers: 2

Read More
bobbie_j
bobbie_j

Reputation: 25

WATIR. Can you use Begin > Rescue within a function / method?

Score: 0

Views: 184

Answers: 1

Read More
pedz
pedz

Reputation: 2349

In Ruby, is there a Binding available that is created at the time of the exception available during the rescue?

Score: 0

Views: 95

Answers: 1

Read More
Tiago Cássio
Tiago Cássio

Reputation: 301

Use rescue_from on model concern

Score: 1

Views: 1257

Answers: 1

Read More
kenorb
kenorb

Reputation: 166919

How to implement custom option for Vagrant without having invalid option warning?

Score: 2

Views: 1515

Answers: 3

Read More
Slim yaw
Slim yaw

Reputation: 79

How to use rails rescue_from outside the controller

Score: 1

Views: 2237

Answers: 1

Read More
PreviousPage 1Next